V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::StackFrame Class Referenceabstract
Inheritance diagram for v8::internal::StackFrame:
v8::internal::EntryFrame v8::internal::ExitFrame v8::internal::NativeFrame v8::internal::StandardFrame v8::internal::ConstructEntryFrame v8::internal::BuiltinExitFrame v8::internal::InternalFrame v8::internal::JavaScriptFrame v8::internal::StubFrame v8::internal::WasmCompiledFrame v8::internal::WasmCompileLazyFrame v8::internal::WasmInterpreterEntryFrame

Classes

struct  State
 

Public Types

enum  Type { NONE = 0, NUMBER_OF_TYPES, MANUAL }
 
enum  Id { ID_MIN_VALUE = kMinInt, ID_MAX_VALUE = kMaxInt, NO_ID = 0 }
 
enum  JsFrameMarker { INNER_JSENTRY_FRAME = (0 << kSmiTagSize) | kSmiTag, OUTERMOST_JSENTRY_FRAME = (1 << kSmiTagSize) | kSmiTag }
 
enum  PrintMode { OVERVIEW, DETAILS }
 

Public Member Functions

 STATIC_ASSERT ((INNER_JSENTRY_FRAME &kHeapObjectTagMask) !=kHeapObjectTag)
 
 STATIC_ASSERT ((OUTERMOST_JSENTRY_FRAME &kHeapObjectTagMask) !=kHeapObjectTag)
 
 StackFrame (const StackFrame &original)
 
bool is_entry () const
 
bool is_construct_entry () const
 
bool is_exit () const
 
bool is_optimized () const
 
bool is_interpreted () const
 
bool is_wasm_compiled () const
 
bool is_wasm_compile_lazy () const
 
bool is_wasm_to_js () const
 
bool is_js_to_wasm () const
 
bool is_wasm_interpreter_entry () const
 
bool is_arguments_adaptor () const
 
bool is_builtin () const
 
bool is_internal () const
 
bool is_builtin_continuation () const
 
bool is_java_script_builtin_continuation () const
 
bool is_java_script_builtin_with_catch_continuation () const
 
bool is_construct () const
 
bool is_builtin_exit () const
 
virtual bool is_standard () const
 
bool is_java_script () const
 
bool is_wasm () const
 
Address sp () const
 
Address fp () const
 
Address callee_pc () const
 
Address caller_sp () const
 
Address UnpaddedFP () const
 
Address pc () const
 
void set_pc (Address pc)
 
Address constant_pool () const
 
void set_constant_pool (Address constant_pool)
 
Addresspc_address () const
 
Addressconstant_pool_address () const
 
Id id () const
 
StackHandlertop_handler () const
 
virtual Type type () const =0
 
virtual Code unchecked_code () const =0
 
Code LookupCode () const
 
virtual void Iterate (RootVisitor *v) const =0
 
virtual void Print (StringStream *accumulator, PrintMode mode, int index) const
 
Isolateisolate () const
 
void operator= (const StackFrame &original)=delete
 

Static Public Member Functions

static int32_t TypeToMarker (Type type)
 
static Type MarkerToType (intptr_t marker)
 
static bool IsTypeMarker (intptr_t function_or_marker)
 
static void IteratePc (RootVisitor *v, Address *pc_address, Address *constant_pool_address, Code holder)
 
static void SetReturnAddressLocationResolver (ReturnAddressLocationResolver resolver)
 
static AddressResolveReturnAddressLocation (Address *pc_address)
 

Protected Member Functions

 StackFrame (StackFrameIteratorBase *iterator)
 
virtual Address GetCallerStackPointer () const =0
 

Static Protected Member Functions

static Type ComputeType (const StackFrameIteratorBase *iterator, State *state)
 

Friends

class StackFrameIterator
 
class StackFrameIteratorBase
 
class StackHandlerIterator
 
class SafeStackFrameIterator
 

Detailed Description

Definition at line 83 of file frames.h.


The documentation for this class was generated from the following files: