V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::JavaScriptFrame Class Referenceabstract
Inheritance diagram for v8::internal::JavaScriptFrame:
v8::internal::StandardFrame v8::internal::StackFrame v8::internal::ArgumentsAdaptorFrame v8::internal::BuiltinFrame v8::internal::InterpretedFrame v8::internal::JavaScriptBuiltinContinuationFrame v8::internal::OptimizedFrame v8::internal::JavaScriptBuiltinContinuationWithCatchFrame

Public Member Functions

Type type () const override=0
 
void Summarize (std::vector< FrameSummary > *frames) const override
 
virtual JSFunctionfunction () const
 
Objectunchecked_function () const
 
Objectreceiver () const override
 
Objectcontext () const override
 
Scriptscript () const override
 
void set_receiver (Object *value)
 
Address GetParameterSlot (int index) const
 
ObjectGetParameter (int index) const override
 
int ComputeParametersCount () const override
 
void SetParameterValue (int index, Object *value) const
 
bool IsConstructor () const override
 
bool HasInlinedFrames () const
 
bool has_adapted_arguments () const
 
void Iterate (RootVisitor *v) const override
 
void Print (StringStream *accumulator, PrintMode mode, int index) const override
 
Code unchecked_code () const override
 
virtual void GetFunctions (std::vector< SharedFunctionInfo *> *functions) const
 
void GetFunctions (std::vector< Handle< SharedFunctionInfo >> *functions) const
 
virtual int LookupExceptionHandlerInTable (int *data, HandlerTable::CatchPrediction *prediction)
 
- Public Member Functions inherited from v8::internal::StandardFrame
bool is_standard () const override
 
virtual int position () const
 
ObjectGetExpression (int index) const
 
void SetExpression (int index, Object *value)
 
int ComputeExpressionsCount () const
 
- Public Member Functions inherited from v8::internal::StackFrame
 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
 
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
 
Code LookupCode () const
 
Isolateisolate () const
 
void operator= (const StackFrame &original)=delete
 

Static Public Member Functions

static Register fp_register ()
 
static Register context_register ()
 
static Register constant_pool_pointer_register ()
 
static JavaScriptFramecast (StackFrame *frame)
 
static void PrintFunctionAndOffset (JSFunction *function, AbstractCode code, int code_offset, FILE *file, bool print_line_number)
 
static void PrintTop (Isolate *isolate, FILE *file, bool print_args, bool print_line_number)
 
static void CollectFunctionAndOffsetForICStats (JSFunction *function, AbstractCode code, int code_offset)
 
static void CollectTopFrameForICStats (Isolate *isolate)
 
- Static Public Member Functions inherited from v8::internal::StandardFrame
static StandardFramecast (StackFrame *frame)
 
- Static Public Member Functions inherited from v8::internal::StackFrame
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

 JavaScriptFrame (StackFrameIteratorBase *iterator)
 
Address GetCallerStackPointer () const override
 
virtual int GetNumberOfIncomingArguments () const
 
virtual void PrintFrameKind (StringStream *accumulator) const
 
- Protected Member Functions inherited from v8::internal::StandardFrame
 StandardFrame (StackFrameIteratorBase *iterator)
 
void ComputeCallerState (State *state) const override
 
Address caller_fp () const
 
Address caller_pc () const
 
void IterateExpressions (RootVisitor *v) const
 
virtual Address GetExpressionAddress (int n) const
 
void IterateCompiledFrame (RootVisitor *v) const
 
- Protected Member Functions inherited from v8::internal::StackFrame
 StackFrame (StackFrameIteratorBase *iterator)
 

Friends

class StackFrameIteratorBase
 

Additional Inherited Members

- Public Types inherited from v8::internal::StackFrame
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 }
 
- Static Protected Member Functions inherited from v8::internal::StandardFrame
static Address ComputePCAddress (Address fp)
 
static Address ComputeConstantPoolAddress (Address fp)
 
static bool IsArgumentsAdaptorFrame (Address fp)
 
static bool IsConstructFrame (Address fp)
 
- Static Protected Member Functions inherited from v8::internal::StackFrame
static Type ComputeType (const StackFrameIteratorBase *iterator, State *state)
 

Detailed Description

Definition at line 674 of file frames.h.


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