v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::InterruptsScope Class Reference

#include <interrupts-scope.h>

Inheritance diagram for v8::internal::InterruptsScope:
Collaboration diagram for v8::internal::InterruptsScope:

Public Types

enum  Mode : uint8_t { kPostponeInterrupts , kRunInterrupts , kNoop }
 

Public Member Functions

V8_EXPORT_PRIVATE InterruptsScope (Isolate *isolate, uint32_t intercept_mask, Mode mode)
 
 ~InterruptsScope ()
 
bool Intercept (StackGuard::InterruptFlag flag)
 

Private Attributes

StackGuardstack_guard_
 
InterruptsScopeprev_
 
const uint32_t intercept_mask_
 
uint32_t intercepted_flags_
 
const Mode mode_
 

Friends

class StackGuard
 

Detailed Description

Definition at line 18 of file interrupts-scope.h.

Member Enumeration Documentation

◆ Mode

Enumerator
kPostponeInterrupts 
kRunInterrupts 
kNoop 

Definition at line 20 of file interrupts-scope.h.

Constructor & Destructor Documentation

◆ InterruptsScope()

V8_EXPORT_PRIVATE v8::internal::InterruptsScope::InterruptsScope ( Isolate * isolate,
uint32_t intercept_mask,
Mode mode )
inline

Definition at line 22 of file interrupts-scope.h.

◆ ~InterruptsScope()

v8::internal::InterruptsScope::~InterruptsScope ( )
inline

Definition at line 34 of file interrupts-scope.h.

Member Function Documentation

◆ Intercept()

bool v8::internal::InterruptsScope::Intercept ( StackGuard::InterruptFlag flag)

Definition at line 12 of file interrupts-scope.cc.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ StackGuard

friend class StackGuard
friend

Definition at line 53 of file interrupts-scope.h.

Member Data Documentation

◆ intercept_mask_

const uint32_t v8::internal::InterruptsScope::intercept_mask_
private

Definition at line 49 of file interrupts-scope.h.

◆ intercepted_flags_

uint32_t v8::internal::InterruptsScope::intercepted_flags_
private

Definition at line 50 of file interrupts-scope.h.

◆ mode_

const Mode v8::internal::InterruptsScope::mode_
private

Definition at line 51 of file interrupts-scope.h.

◆ prev_

InterruptsScope* v8::internal::InterruptsScope::prev_
private

Definition at line 48 of file interrupts-scope.h.

◆ stack_guard_

StackGuard* v8::internal::InterruptsScope::stack_guard_
private

Definition at line 47 of file interrupts-scope.h.


The documentation for this class was generated from the following files: