v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
static-roots-gen.cc File Reference
Include dependency graph for static-roots-gen.cc:

Go to the source code of this file.

Classes

class  v8::internal::StaticRootsTableGenImpl
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define ADD_ROOT(_, value, CamelName)
 
#define ENTRY(_1, _2, CamelName)
 

Macro Definition Documentation

◆ ADD_ROOT

#define ADD_ROOT ( _,
value,
CamelName )
Value:
{ \
Tagged_t ptr = V8HeapCompressionScheme::CompressObject( \
ro_roots.unchecked_##value().ptr()); \
sorted_roots_[ptr].push_back(pos); \
camel_names_[RootIndex::k##CamelName] = #CamelName; \
++pos; \
}
SourcePosition pos

◆ ENTRY

#define ENTRY ( _1,
_2,
CamelName )
Value:
out << " StaticReadOnlyRoot::k" << #CamelName << ",\n";