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

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define V(Name, ...)
 
#define INVALIDATE_PROTECTOR_ON_ISOLATE_DEFINITION(name, unused_index, cell)
 

Macro Definition Documentation

◆ INVALIDATE_PROTECTOR_ON_ISOLATE_DEFINITION

#define INVALIDATE_PROTECTOR_ON_ISOLATE_DEFINITION ( name,
unused_index,
cell )
Value:
void Protectors::Invalidate##name(Isolate* isolate) { \
DCHECK(IsSmi(isolate->factory()->cell()->value())); \
DCHECK(Is##name##Intact(isolate)); \
if (v8_flags.trace_protector_invalidation) { \
TraceProtectorInvalidation(#name); \
} \
isolate->CountUsage(v8::Isolate::kInvalidated##name##Protector); \
isolate->factory()->cell()->InvalidateProtector(); \
DCHECK(!Is##name##Intact(isolate)); \
}
const char * name
Definition builtins.cc:39

Definition at line 48 of file protectors.cc.

◆ V

#define V ( Name,
... )
Value:
static_assert(IsDefined(v8::Isolate::kInvalidated##Name##Protector));

Definition at line 40 of file protectors.cc.