Home
last modified time | relevance | path

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

/external/v8/src/execution/
Dinterrupts-scope.h17 class InterruptsScope {
21 V8_EXPORT_PRIVATE InterruptsScope(Isolate* isolate, intptr_t intercept_mask,
24 virtual ~InterruptsScope() { in ~InterruptsScope()
39 InterruptsScope* prev_;
48 class PostponeInterruptsScope : public InterruptsScope {
52 : InterruptsScope(isolate, intercept_mask, in InterruptsScope() function
53 InterruptsScope::kPostponeInterrupts) {} in InterruptsScope()
60 class 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.cc71 void StackGuard::PushInterruptsScope(InterruptsScope* scope) { in PushInterruptsScope()
73 DCHECK_NE(scope->mode_, InterruptsScope::kNoop); in PushInterruptsScope()
74 if (scope->mode_ == InterruptsScope::kPostponeInterrupts) { in PushInterruptsScope()
81 DCHECK_EQ(scope->mode_, InterruptsScope::kRunInterrupts); in PushInterruptsScope()
84 for (InterruptsScope* current = thread_local_.interrupt_scopes_; in PushInterruptsScope()
101 InterruptsScope* top = thread_local_.interrupt_scopes_; in PopInterruptsScope()
102 DCHECK_NE(top->mode_, InterruptsScope::kNoop); in PopInterruptsScope()
103 if (top->mode_ == InterruptsScope::kPostponeInterrupts) { in PopInterruptsScope()
108 DCHECK_EQ(top->mode_, InterruptsScope::kRunInterrupts); in PopInterruptsScope()
150 for (InterruptsScope* current = thread_local_.interrupt_scopes_; in ClearInterrupt()
Dstack-guard.h16 class InterruptsScope; variable
121 void PushInterruptsScope(InterruptsScope* scope);
165 InterruptsScope* interrupt_scopes_ = nullptr;
176 friend class InterruptsScope; variable
/external/v8/src/api/
Dapi.cc286 ? i::InterruptsScope::kRunInterrupts in CallDepthScope()
287 : i::InterruptsScope::kPostponeInterrupts) in CallDepthScope()
288 : i::InterruptsScope::kNoop) { in CallDepthScope()
349 i::InterruptsScope interrupts_scope_;