v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
protectors-inl.h File Reference
Include dependency graph for protectors-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 DEFINE_PROTECTOR_ON_ISOLATE_CHECK(name, root_index, unused_cell)
 

Macro Definition Documentation

◆ DEFINE_PROTECTOR_ON_ISOLATE_CHECK

#define DEFINE_PROTECTOR_ON_ISOLATE_CHECK ( name,
root_index,
unused_cell )
Value:
bool Protectors::Is##name##Intact(Isolate* isolate) { \
Tagged<PropertyCell> cell = \
Cast<PropertyCell>(isolate->root(RootIndex::k##root_index)); \
return IsSmi(cell->value()) && \
Smi::ToInt(cell->value()) == kProtectorValid; \
}

Definition at line 17 of file protectors-inl.h.