Home
last modified time | relevance | path

Searched refs:thread_local_ (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/v8/src/execution/
Dstack-guard.cc31 thread_local_.set_jslimit(kInterruptLimit); in set_interrupt_limits()
32 thread_local_.set_climit(kInterruptLimit); in set_interrupt_limits()
37 thread_local_.set_jslimit(thread_local_.real_jslimit_); in reset_limits()
38 thread_local_.set_climit(thread_local_.real_climit_); in reset_limits()
46 if (thread_local_.jslimit() == thread_local_.real_jslimit_) { in SetStackLimit()
47 thread_local_.set_jslimit(jslimit); in SetStackLimit()
49 if (thread_local_.climit() == thread_local_.real_climit_) { in SetStackLimit()
50 thread_local_.set_climit(limit); in SetStackLimit()
52 thread_local_.real_climit_ = limit; in SetStackLimit()
53 thread_local_.real_jslimit_ = jslimit; in SetStackLimit()
[all …]
Dstack-guard.h77 uintptr_t climit() { return thread_local_.climit(); } in climit()
78 uintptr_t jslimit() { return thread_local_.jslimit(); } in jslimit()
82 uintptr_t real_climit() { return thread_local_.real_climit_; } in real_climit()
83 uintptr_t real_jslimit() { return thread_local_.real_jslimit_; } in real_jslimit()
85 return reinterpret_cast<Address>(&thread_local_.jslimit_); in address_of_jslimit()
88 return reinterpret_cast<Address>(&thread_local_.real_jslimit_); in address_of_real_jslimit()
114 return thread_local_.interrupt_flags_ != 0; in has_pending_interrupts()
187 ThreadLocal thread_local_; variable
Disolate.cc2629 Handle<Object> promise_on_stack(debug()->thread_local_.promise_stack_, this); in ThrowInternal()
2631 debug()->thread_local_.promise_stack_ = *promise_on_stack; in ThrowInternal()
2636 debug()->thread_local_.promise_stack_ = in ThrowInternal()
2637 PromiseOnStack::cast(debug()->thread_local_.promise_stack_).prev(); in ThrowInternal()
2642 DCHECK_IMPLIES(!debug()->thread_local_.promise_stack_.IsSmi(), in ThrowInternal()
2643 debug()->thread_local_.promise_stack_.IsPromiseOnStack()); in ThrowInternal()
2644 return debug()->thread_local_.promise_stack_.IsSmi(); in ThrowInternal()
2725 Handle<Object> promise_stack(debug()->thread_local_.promise_stack_, this); in ThrowInternal()
5088 debug()->thread_local_.promise_stack_ = Smi::zero(); in ThrowInternal()
/third_party/node/deps/v8/src/regexp/
Dregexp-stack.cc24 RegExpStack::RegExpStack() : thread_local_(this) {} in RegExpStack()
26 RegExpStack::~RegExpStack() { thread_local_.FreeAndInvalidate(); } in ~RegExpStack()
29 if (!thread_local_.owns_memory_) { in ArchiveStack()
34 EnsureCapacity(thread_local_.memory_size_ + 1); in ArchiveStack()
35 DCHECK(thread_local_.owns_memory_); in ArchiveStack()
38 MemCopy(reinterpret_cast<void*>(to), &thread_local_, kThreadLocalSize); in ArchiveStack()
39 thread_local_ = ThreadLocal(this); in ArchiveStack()
45 MemCopy(&thread_local_, reinterpret_cast<void*>(from), kThreadLocalSize); in RestoreStack()
75 if (thread_local_.memory_size_ < size) { in EnsureCapacity()
78 if (thread_local_.memory_size_ > 0) { in EnsureCapacity()
[all …]
Dregexp-stack.h48 DCHECK_NE(0, thread_local_.memory_size_); in memory_top()
49 DCHECK_EQ(thread_local_.memory_top_, in memory_top()
50 thread_local_.memory_ + thread_local_.memory_size_); in memory_top()
51 return reinterpret_cast<Address>(thread_local_.memory_top_); in memory_top()
55 return reinterpret_cast<Address>(thread_local_.stack_pointer_); in stack_pointer()
58 size_t memory_size() const { return thread_local_.memory_size_; } in memory_size()
65 Address* limit_address_address() { return &thread_local_.limit_; } in limit_address_address()
77 void FreeThreadResources() { thread_local_.ResetToStaticStack(this); } in FreeThreadResources()
129 return reinterpret_cast<Address>(&thread_local_.memory_top_); in memory_top_address_address()
133 return reinterpret_cast<Address>(&thread_local_.stack_pointer_); in stack_pointer_address()
[all …]
/third_party/node/deps/v8/src/debug/
Ddebug.cc379 thread_local_.break_frame_id_ = StackFrameId::NO_ID; in ThreadInit()
380 thread_local_.last_step_action_ = StepNone; in ThreadInit()
381 thread_local_.last_statement_position_ = kNoSourcePosition; in ThreadInit()
382 thread_local_.last_frame_count_ = -1; in ThreadInit()
383 thread_local_.fast_forward_to_return_ = false; in ThreadInit()
384 thread_local_.ignore_step_into_function_ = Smi::zero(); in ThreadInit()
385 thread_local_.target_frame_count_ = -1; in ThreadInit()
386 thread_local_.return_value_ = Smi::zero(); in ThreadInit()
387 thread_local_.last_breakpoint_id_ = 0; in ThreadInit()
389 base::Relaxed_Store(&thread_local_.current_debug_scope_, in ThreadInit()
[all …]
Ddebug.h365 return !!base::Relaxed_Load(&thread_local_.current_debug_scope_); in in_debug_scope()
374 StackFrameId break_frame_id() { return thread_local_.break_frame_id_; } in break_frame_id()
377 Object return_value() { return thread_local_.return_value_; } in return_value()
378 void set_return_value(Object value) { thread_local_.return_value_ = value; } in set_return_value()
388 return reinterpret_cast<Address>(&thread_local_.suspended_generator_); in suspended_generator_address()
391 StepAction last_step_action() { return thread_local_.last_step_action_; } in last_step_action()
393 return thread_local_.break_on_next_function_call_; in break_on_next_function_call()
429 thread_local_.suspended_generator_ = Smi::zero(); in clear_suspended_generator()
433 return thread_local_.suspended_generator_ != Smi::zero(); in has_suspended_generator()
579 ThreadLocal thread_local_; variable