Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/execution/
H A Dinterrupts-scope.h17 class V8_NODISCARD InterruptsScope { class
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 PostponeInterruptsScope()
53 InterruptsScope::kPostponeInterrupts) {} in PostponeInterruptsScope()
60 class V8_NODISCARD SafeForInterruptsScope : public InterruptsScope {
64 : InterruptsScope(isolate, intercept_mask, in SafeForInterruptsScope()
65 InterruptsScope in SafeForInterruptsScope()
[all...]
H A 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()
H A 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()
141 // Check the chain of InterruptsScope fo in RequestInterrupt()
[all...]
H A Dstack-guard.h16 class InterruptsScope;
136 void PushInterruptsScope(InterruptsScope* scope);
180 InterruptsScope* interrupt_scopes_ = nullptr;
191 friend class InterruptsScope;
/third_party/node/deps/v8/src/api/
H A Dapi-inl.h150 ? i::InterruptsScope::kRunInterrupts in CallDepthScope()
151 : i::InterruptsScope::kPostponeInterrupts) in CallDepthScope()
152 : i::InterruptsScope::kNoop) { in CallDepthScope()
222 i::InterruptsScope interrupts_scope_;

Completed in 3 milliseconds