Lines Matching refs:scope
9 #include "src/execution/interrupts-scope.h"
79 void StackGuard::PushInterruptsScope(InterruptsScope* scope) {
81 DCHECK_NE(scope->mode_, InterruptsScope::kNoop);
82 if (scope->mode_ == InterruptsScope::kPostponeInterrupts) {
85 thread_local_.interrupt_flags_ & scope->intercept_mask_;
86 scope->intercepted_flags_ = intercepted;
89 DCHECK_EQ(scope->mode_, InterruptsScope::kRunInterrupts);
94 restored_flags |= (current->intercepted_flags_ & scope->intercept_mask_);
95 current->intercepted_flags_ &= ~scope->intercept_mask_;
102 // Add scope to the chain.
103 scope->prev_ = thread_local_.interrupt_scopes_;
104 thread_local_.interrupt_scopes_ = scope;
130 // Remove scope from chain.