#include <math.h>
#include "allocation.h"
#include "globals.h"
#include "incremental-marking.h"
#include "list.h"
#include "mark-compact.h"
#include "objects-visiting.h"
#include "spaces.h"
#include "splay-tree-inl.h"
#include "store-buffer.h"
#include "v8-counters.h"
#include "v8globals.h"
Go to the source code of this file.
|
#define | STRONG_ROOT_LIST(V) |
|
#define | ROOT_LIST(V) |
|
#define | SYMBOL_LIST(V) |
|
#define | ROOT_ACCESSOR(type, name, camel_name) |
|
#define | STRUCT_MAP_ACCESSOR(NAME, Name, name) |
|
#define | SYMBOL_ACCESSOR(name, str) |
|
#define | ROOT_INDEX_DECLARATION(type, name, camel_name) k##camel_name##RootIndex, |
|
#define | SYMBOL_INDEX_DECLARATION(name, str) k##name##RootIndex, |
|
#define | DECLARE_STRUCT_MAP(NAME, Name, name) k##Name##MapRootIndex, |
|
#define | ROOT_ACCESSOR(type, name, camel_name) |
|
#define DECLARE_STRUCT_MAP |
( |
|
NAME, |
|
|
|
Name, |
|
|
|
name |
|
) |
| k##Name##MapRootIndex, |
#define ROOT_ACCESSOR |
( |
|
type, |
|
|
|
name, |
|
|
|
camel_name |
|
) |
| |
Value:type* name() { \
return type::cast(roots_[k##camel_name##RootIndex]); \
} \
type* raw_unchecked_##name() { \
return reinterpret_cast<type*>(roots_[k##camel_name##RootIndex]); \
}
Definition at line 1763 of file heap.h.
#define ROOT_ACCESSOR |
( |
|
type, |
|
|
|
name, |
|
|
|
camel_name |
|
) |
| |
Value:inline void set_##name(type* value) { \
\
ASSERT(k##camel_name##RootIndex >= kOldSpaceRoots || !InNewSpace(value)); \
roots_[k##camel_name##RootIndex] = value; \
}
#define ASSERT(condition)
Definition at line 1763 of file heap.h.
#define ROOT_INDEX_DECLARATION |
( |
|
type, |
|
|
|
name, |
|
|
|
camel_name |
|
) |
| k##camel_name##RootIndex, |
Value:
V(SymbolTable, symbol_table, SymbolTable)
#define STRONG_ROOT_LIST(V)
Definition at line 159 of file heap.h.
#define STRONG_ROOT_LIST |
( |
|
V | ) |
|
#define STRUCT_MAP_ACCESSOR |
( |
|
NAME, |
|
|
|
Name, |
|
|
|
name |
|
) |
| |
Value:Map* name##_map() { \
return Map::cast(roots_[k##Name##MapRootIndex]); \
}
Definition at line 1169 of file heap.h.
#define SYMBOL_ACCESSOR |
( |
|
name, |
|
|
|
str |
|
) |
| |
Value:String* name() { \
return String::cast(roots_[k##name##RootIndex]); \
}
Definition at line 1176 of file heap.h.
#define SYMBOL_INDEX_DECLARATION |
( |
|
name, |
|
|
|
str |
|
) |
| k##name##RootIndex, |