v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
roots-inl.h File Reference
Include dependency graph for roots-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define ROOT_ACCESSOR(Type, name, CamelName)
 
#define ROOT_ACCESSOR(Type, name, CamelName)
 

Functions

V8_INLINE constexpr bool v8::internal::operator< (RootIndex lhs, RootIndex rhs)
 
V8_INLINE RootIndex v8::internal::operator++ (RootIndex &index)
 
ReadOnlyRoots v8::internal::GetReadOnlyRoots ()
 

Macro Definition Documentation

◆ ROOT_ACCESSOR [1/2]

#define ROOT_ACCESSOR ( Type,
name,
CamelName )
Value:
IndirectHandle<Type> RootsTable::name() { \
return IndirectHandle<Type>( \
handle_at(RootIndex::k##CamelName).location()); \
}

Definition at line 74 of file roots-inl.h.

◆ ROOT_ACCESSOR [2/2]

#define ROOT_ACCESSOR ( Type,
name,
CamelName )
Value:
Tagged<Type> ReadOnlyRoots::name() const { \
return unchecked_##name(); \
} \
Tagged<Type> ReadOnlyRoots::unchecked_##name() const { \
return UncheckedCast<Type>(object_at(RootIndex::k##CamelName)); \
}
const char * name
Definition builtins.cc:39

Definition at line 74 of file roots-inl.h.