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

Go to the source code of this file.

Classes

class  v8::internal::StackGuard
 
class  v8::internal::StackGuard::ThreadLocal
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define INTERRUPT_LIST(V)
 
#define V(NAME, Name, id, interrupt_level)
 
#define V(NAME, Name, id, interrupt_level)
 
#define V(NAME, Name, id, interrupt_level)
 
#define V(NAME, Name, id, interrupt_level)
 

Macro Definition Documentation

◆ INTERRUPT_LIST

#define INTERRUPT_LIST ( V)
Value:
V(TERMINATE_EXECUTION, TerminateExecution, 0, InterruptLevel::kNoGC) \
V(GC_REQUEST, GC, 1, InterruptLevel::kNoHeapWrites) \
V(INSTALL_CODE, InstallCode, 2, InterruptLevel::kAnyEffect) \
V(INSTALL_BASELINE_CODE, InstallBaselineCode, 3, InterruptLevel::kAnyEffect) \
V(API_INTERRUPT, ApiInterrupt, 4, InterruptLevel::kNoHeapWrites) \
V(DEOPT_MARKED_ALLOCATION_SITES, DeoptMarkedAllocationSites, 5, \
InterruptLevel::kNoHeapWrites) \
V(GROW_SHARED_MEMORY, GrowSharedMemory, 6, InterruptLevel::kAnyEffect) \
V(LOG_WASM_CODE, LogWasmCode, 7, InterruptLevel::kAnyEffect) \
V(WASM_CODE_GC, WasmCodeGC, 8, InterruptLevel::kNoHeapWrites) \
V(INSTALL_MAGLEV_CODE, InstallMaglevCode, 9, InterruptLevel::kAnyEffect) \
V(GLOBAL_SAFEPOINT, GlobalSafepoint, 10, InterruptLevel::kNoHeapWrites) \
V(START_INCREMENTAL_MARKING, StartIncrementalMarking, 11, \
InterruptLevel::kNoHeapWrites)
#define V(NAME, Name, id, interrupt_level)
Definition stack-guard.h:84

Definition at line 68 of file stack-guard.h.

◆ V [1/4]

#define V ( NAME,
Name,
id,
interrupt_level )
Value:
inline bool Check##Name() { return CheckInterrupt(NAME); } \
inline void Request##Name() { RequestInterrupt(NAME); } \
inline void Clear##Name() { ClearInterrupt(NAME); }
#define NAME(feat,...)

Definition at line 84 of file stack-guard.h.

◆ V [2/4]

#define V ( NAME,
Name,
id,
interrupt_level )
Value:
NAME = (1 << id),

Definition at line 84 of file stack-guard.h.

◆ V [3/4]

#define V ( NAME,
Name,
id,
interrupt_level )
Value:

Definition at line 84 of file stack-guard.h.

◆ V [4/4]

#define V ( NAME,
Name,
id,
interrupt_level )
Value:
| (interrupt_level <= level ? NAME : 0)

Definition at line 84 of file stack-guard.h.