Home
last modified time | relevance | path

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

/external/v8/src/execution/
Dstack-guard.cc23 thread_local_.set_jslimit(kInterruptLimit); in set_interrupt_limits()
24 thread_local_.set_climit(kInterruptLimit); in set_interrupt_limits()
29 thread_local_.set_jslimit(thread_local_.real_jslimit_); in reset_limits()
30 thread_local_.set_climit(thread_local_.real_climit_); in reset_limits()
38 if (thread_local_.jslimit() == thread_local_.real_jslimit_) { in SetStackLimit()
39 thread_local_.set_jslimit(jslimit); in SetStackLimit()
41 if (thread_local_.climit() == thread_local_.real_climit_) { in SetStackLimit()
42 thread_local_.set_climit(limit); in SetStackLimit()
44 thread_local_.real_climit_ = limit; in SetStackLimit()
45 thread_local_.real_jslimit_ = jslimit; in SetStackLimit()
[all …]
Dstack-guard.h71 uintptr_t climit() { return thread_local_.climit(); } in climit()
72 uintptr_t jslimit() { return thread_local_.jslimit(); } in jslimit()
76 uintptr_t real_climit() { return thread_local_.real_climit_; } in real_climit()
77 uintptr_t real_jslimit() { return thread_local_.real_jslimit_; } in real_jslimit()
79 return reinterpret_cast<Address>(&thread_local_.jslimit_); in address_of_jslimit()
82 return reinterpret_cast<Address>(&thread_local_.real_jslimit_); in address_of_real_jslimit()
99 return thread_local_.interrupt_flags_ != 0; in has_pending_interrupts()
172 ThreadLocal thread_local_; variable
/external/v8/src/regexp/
Dregexp-stack.cc31 RegExpStack::RegExpStack() : thread_local_(this), isolate_(nullptr) {} in RegExpStack()
33 RegExpStack::~RegExpStack() { thread_local_.FreeAndInvalidate(); } in ~RegExpStack()
36 if (!thread_local_.owns_memory_) { in ArchiveStack()
41 EnsureCapacity(thread_local_.memory_size_ + 1); in ArchiveStack()
42 DCHECK(thread_local_.owns_memory_); in ArchiveStack()
45 MemCopy(reinterpret_cast<void*>(to), &thread_local_, kThreadLocalSize); in ArchiveStack()
46 thread_local_ = ThreadLocal(this); in ArchiveStack()
52 MemCopy(&thread_local_, reinterpret_cast<void*>(from), kThreadLocalSize); in RestoreStack()
56 void RegExpStack::Reset() { thread_local_.ResetToStaticStack(this); } in Reset()
84 if (thread_local_.memory_size_ < size) { in EnsureCapacity()
[all …]
Dregexp-stack.h53 DCHECK_NE(0, thread_local_.memory_size_); in stack_base()
54 DCHECK_EQ(thread_local_.memory_top_, in stack_base()
55 thread_local_.memory_ + thread_local_.memory_size_); in stack_base()
56 return reinterpret_cast<Address>(thread_local_.memory_top_); in stack_base()
60 size_t stack_capacity() { return thread_local_.memory_size_; } in stack_capacity()
67 Address* limit_address_address() { return &(thread_local_.limit_); } in limit_address_address()
73 bool is_in_use() const { return thread_local_.is_in_use_; } in is_in_use()
74 void set_is_in_use(bool v) { thread_local_.is_in_use_ = v; } in set_is_in_use()
82 void FreeThreadResources() { thread_local_.ResetToStaticStack(this); } in FreeThreadResources()
129 return reinterpret_cast<Address>(&thread_local_.memory_top_); in memory_top_address_address()
[all …]
/external/v8/src/debug/
Ddebug.cc339 thread_local_.break_frame_id_ = StackFrameId::NO_ID; in ThreadInit()
340 thread_local_.last_step_action_ = StepNone; in ThreadInit()
341 thread_local_.last_statement_position_ = kNoSourcePosition; in ThreadInit()
342 thread_local_.last_frame_count_ = -1; in ThreadInit()
343 thread_local_.fast_forward_to_return_ = false; in ThreadInit()
344 thread_local_.ignore_step_into_function_ = Smi::zero(); in ThreadInit()
345 thread_local_.target_frame_count_ = -1; in ThreadInit()
346 thread_local_.return_value_ = Smi::zero(); in ThreadInit()
347 thread_local_.last_breakpoint_id_ = 0; in ThreadInit()
349 thread_local_.restart_fp_ = kNullAddress; in ThreadInit()
[all …]
Ddebug.h345 return !!base::Relaxed_Load(&thread_local_.current_debug_scope_); in in_debug_scope()
354 StackFrameId break_frame_id() { return thread_local_.break_frame_id_; } in break_frame_id()
357 Object return_value() { return thread_local_.return_value_; } in return_value()
358 void set_return_value(Object value) { thread_local_.return_value_ = value; } in set_return_value()
370 return reinterpret_cast<Address>(&thread_local_.suspended_generator_); in suspended_generator_address()
374 return reinterpret_cast<Address>(&thread_local_.restart_fp_); in restart_fp_address()
377 return thread_local_.restart_fp_ != kNullAddress; in will_restart()
380 StepAction last_step_action() { return thread_local_.last_step_action_; } in last_step_action()
382 return thread_local_.break_on_next_function_call_; in break_on_next_function_call()
413 thread_local_.suspended_generator_ = Smi::zero(); in clear_suspended_generator()
[all …]
Dliveedit.cc1287 debug->thread_local_.restart_fp_ = 0; in InitializeThreadLocal()