Home
last modified time | relevance | path

Searched refs:InterruptsScope (Results 1 – 5 of 5) sorted by relevance

/third_party/node/deps/v8/src/execution/
Dinterrupts-scope.h17 class V8_NODISCARD InterruptsScope {
21 V8_EXPORT_PRIVATE InterruptsScope(Isolate* isolate, intptr_t intercept_mask,
24 virtual ~InterruptsScope() { in ~InterruptsScope()
39 InterruptsScope* prev_;
48 class V8_NODISCARD PostponeInterruptsScope : public InterruptsScope {
52 : InterruptsScope(isolate, intercept_mask, in InterruptsScope() function
53 InterruptsScope::kPostponeInterrupts) {} in InterruptsScope()
60 class V8_NODISCARD SafeForInterruptsScope : public InterruptsScope {
64 : InterruptsScope(isolate, intercept_mask, in InterruptsScope() function
65 InterruptsScope::kRunInterrupts) {} in InterruptsScope()
Dinterrupts-scope.cc12 InterruptsScope::InterruptsScope(Isolate* isolate, intptr_t intercept_mask, in InterruptsScope() function in v8::internal::InterruptsScope
21 bool InterruptsScope::Intercept(StackGuard::InterruptFlag flag) { in Intercept()
22 InterruptsScope* last_postpone_scope = nullptr; in Intercept()
23 for (InterruptsScope* current = this; current; current = current->prev_) { in Intercept()
Dstack-guard.cc79 void StackGuard::PushInterruptsScope(InterruptsScope* scope) { in PushInterruptsScope()
81 DCHECK_NE(scope->mode_, InterruptsScope::kNoop); in PushInterruptsScope()
82 if (scope->mode_ == InterruptsScope::kPostponeInterrupts) { in PushInterruptsScope()
89 DCHECK_EQ(scope->mode_, InterruptsScope::kRunInterrupts); in PushInterruptsScope()
92 for (InterruptsScope* current = thread_local_.interrupt_scopes_; in PushInterruptsScope()
109 InterruptsScope* top = thread_local_.interrupt_scopes_; in PopInterruptsScope()
110 DCHECK_NE(top->mode_, InterruptsScope::kNoop); in PopInterruptsScope()
111 if (top->mode_ == InterruptsScope::kPostponeInterrupts) { in PopInterruptsScope()
116 DCHECK_EQ(top->mode_, InterruptsScope::kRunInterrupts); in PopInterruptsScope()
158 for (InterruptsScope* current = thread_local_.interrupt_scopes_; in ClearInterrupt()
Dstack-guard.h16 class InterruptsScope; variable
136 void PushInterruptsScope(InterruptsScope* scope);
180 InterruptsScope* interrupt_scopes_ = nullptr;
191 friend class InterruptsScope; variable
/third_party/node/deps/v8/src/api/
Dapi-inl.h150 ? i::InterruptsScope::kRunInterrupts
151 : i::InterruptsScope::kPostponeInterrupts)
152 : i::InterruptsScope::kNoop) {
222 i::InterruptsScope interrupts_scope_;