5#ifndef V8_EXECUTION_THREAD_LOCAL_TOP_H_
6#define V8_EXECUTION_THREAD_LOCAL_TOP_H_
24class ExternalCallbackScope;
65 template <
bool clear_exception,
typename Scope>
68#if defined(USE_SIMULATOR) || defined(V8_USE_ADDRESS_SANITIZER)
69 StoreCurrentStackPosition();
73 if constexpr (clear_exception) {
80#if defined(USE_SIMULATOR) || defined(V8_USE_ADDRESS_SANITIZER)
81 void StoreCurrentStackPosition();
84 template <
typename Scope>
internal::Address JSStackComparableAddressPrivate()
static V8_INLINE Address GetRoot(v8::Isolate *isolate, int index)
static const int kTheHoleValueRootIndex
static constexpr Tagged< Smi > zero()
void Initialize(Isolate *)
Address pending_handler_fp_
Tagged< Object > exception_
static constexpr uint32_t kSizeInBytes
static constexpr int exception_offset()
ExternalCallbackScope * external_callback_scope_
uint8_t is_on_central_stack_flag_
Tagged< Context > pending_handler_context_
void DecrementCallDepth(Scope *stack_allocated_scope)
bool CallDepthIsZero() const
const v8::Context::BackupIncumbentScope * top_backup_incumbent_scope_
Address try_catch_handler_address()
Address central_stack_sp_
v8::FailedAccessCheckCallback failed_access_check_callback_
StateTag current_vm_state_
Tagged< Object > pending_message_
Address pending_handler_constant_pool_
uintptr_t num_frames_above_pending_handler_
void IncrementCallDepth(Scope *stack_allocated_scope)
v8::TryCatch * try_catch_handler_
Address pending_handler_sp_
uint8_t rethrowing_message_
Tagged< Context > context_
Address thread_in_wasm_flag_address_
Address central_stack_limit_
Address pending_handler_entrypoint_
EmbedderState * current_embedder_state_
std::atomic< ThreadId > thread_id_
Tagged< Context > topmost_script_having_context_
Address secondary_stack_limit_
Address secondary_stack_sp_
constexpr int kSystemPointerSize
static constexpr Address kNullAddress
void(*)(Local< Object > target, AccessType type, Local< Value > data) FailedAccessCheckCallback