v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ApiCallbackExitFrame Class Reference

#include <frames.h>

Inheritance diagram for v8::internal::ApiCallbackExitFrame:
Collaboration diagram for v8::internal::ApiCallbackExitFrame:

Public Member Functions

Type type () const override
 
DirectHandle< JSFunctionGetFunction () const
 
DirectHandle< FunctionTemplateInfoGetFunctionTemplateInfo () const
 
Tagged< Objectreceiver () const
 
Tagged< ObjectGetParameter (int i) const
 
int ComputeParametersCount () const
 
DirectHandle< FixedArrayGetParameters () const
 
Tagged< Objectcontext () const override
 
bool IsConstructor () const
 
void Print (StringStream *accumulator, PrintMode mode, int index) const override
 
FrameSummaries Summarize () const override
 
- Public Member Functions inherited from v8::internal::ExitFrame
Type type () const override
 
void Iterate (RootVisitor *v) const override
 
- Public Member Functions inherited from v8::internal::TypedFrame
Tagged< HeapObjectunchecked_code () const override
 
void Iterate (RootVisitor *v) const override
 
void IterateParamsOfGenericWasmToJSWrapper (RootVisitor *v) const
 
void IterateParamsOfOptimizedWasmToJSWrapper (RootVisitor *v) const
 
- Public Member Functions inherited from v8::internal::CommonFrame
virtual int position () const
 
Tagged< ObjectGetExpression (int index) const
 
void SetExpression (int index, Tagged< Object > value)
 
int ComputeExpressionsCount () const
 
Address GetCallerStackPointer () const override
 
- Public Member Functions inherited from v8::internal::StackFrame
 StackFrame (const StackFrame &original) V8_NOEXCEPT
 
bool is_entry () const
 
bool is_construct_entry () const
 
bool is_exit () const
 
bool is_optimized_js () const
 
bool is_unoptimized_js () const
 
bool is_interpreted () const
 
bool is_baseline () const
 
bool is_maglev () const
 
bool is_turbofan_js () const
 
bool is_builtin () const
 
bool is_internal () const
 
bool is_builtin_continuation () const
 
bool is_javascript_builtin_continuation () const
 
bool is_javascript_builtin_with_catch_continuation () const
 
bool is_construct () const
 
bool is_fast_construct () const
 
bool is_builtin_exit () const
 
bool is_api_accessor_exit () const
 
bool is_api_callback_exit () const
 
bool is_irregexp () const
 
bool is_javascript () const
 
Address sp () const
 
Address fp () const
 
Address callee_fp () const
 
Address callee_pc () const
 
Address caller_sp () const
 
Address pc () const
 
bool is_profiler_entry_frame () const
 
bool is_stack_exit_frame () const
 
Address unauthenticated_pc () const
 
Address maybe_unauthenticated_pc () const
 
bool InFastCCall () const
 
Address constant_pool () const
 
void set_constant_pool (Address constant_pool)
 
Addresspc_address () const
 
Addressconstant_pool_address () const
 
StackFrameId id () const
 
StackHandlertop_handler () const
 
V8_EXPORT_PRIVATE Tagged< CodeLookupCode () const
 
V8_EXPORT_PRIVATE std::pair< Tagged< Code >, int > LookupCodeAndOffset () const
 
V8_EXPORT_PRIVATE Tagged< GcSafeCodeGcSafeLookupCode () const
 
V8_EXPORT_PRIVATE std::pair< Tagged< GcSafeCode >, int > GcSafeLookupCodeAndOffset () const
 
void IteratePc (RootVisitor *v, Address *constant_pool_address, Tagged< GcSafeCode > holder) const
 
Isolateisolate () const
 
void operator= (const StackFrame &original)=delete
 

Static Public Member Functions

static ApiCallbackExitFramecast (StackFrame *frame)
 
- Static Public Member Functions inherited from v8::internal::ExitFrame
static ExitFramecast (StackFrame *frame)
 
static Type GetStateForFramePointer (Address fp, State *state)
 
static Address ComputeStackPointer (Address fp)
 
static StackFrame::Type ComputeFrameType (Address fp)
 
static void FillState (Address fp, Address sp, State *state)
 
- Static Public Member Functions inherited from v8::internal::CommonFrame
static CommonFramecast (StackFrame *frame)
 
- Static Public Member Functions inherited from v8::internal::StackFrame
static constexpr int32_t TypeToMarker (Type type)
 
static constexpr Type MarkerToType (intptr_t marker)
 
static constexpr bool IsTypeMarker (uintptr_t function_or_marker)
 
static bool IsJavaScript (Type t)
 
static Address unauthenticated_pc (Address *pc_address)
 
static Address maybe_unauthenticated_pc (Address *pc_address)
 
static void SetReturnAddressLocationResolver (ReturnAddressLocationResolver resolver)
 
static Address ReadPC (Address *pc_address)
 
static AddressResolveReturnAddressLocation (Address *pc_address)
 

Protected Member Functions

 ApiCallbackExitFrame (StackFrameIteratorBase *iterator)
 
- Protected Member Functions inherited from v8::internal::ExitFrame
 ExitFrame (StackFrameIteratorBase *iterator)
 
- Protected Member Functions inherited from v8::internal::TypedFrame
 TypedFrame (StackFrameIteratorBase *iterator)
 
- Protected Member Functions inherited from v8::internal::CommonFrame
 CommonFrame (StackFrameIteratorBase *iterator)
 
bool HasTaggedOutgoingParams (Tagged< GcSafeCode > code_lookup) const
 
Address caller_fp () const
 
Address caller_pc () const
 
void IterateExpressions (RootVisitor *v) const
 
void IterateTurbofanJSOptimizedFrame (RootVisitor *v) const
 
virtual Address GetExpressionAddress (int n) const
 
- Protected Member Functions inherited from v8::internal::StackFrame
 StackFrame (StackFrameIteratorBase *iterator)
 

Private Member Functions

Tagged< HeapObjecttarget () const
 
void set_target (Tagged< HeapObject > function) const
 
FullObjectSlot target_slot () const
 

Friends

class StackFrameIteratorBase
 

Additional Inherited Members

- Public Types inherited from v8::internal::StackFrame
enum  Type { NO_FRAME_TYPE = 0 , STACK_FRAME_TYPE_LIST =(DECLARE_TYPE) NUMBER_OF_TYPES , MANUAL }
 
enum  JsFrameMarker { INNER_JSENTRY_FRAME = (0 << kSmiTagSize) | kSmiTag , OUTERMOST_JSENTRY_FRAME = (1 << kSmiTagSize) | kSmiTag }
 
enum  PrintMode { OVERVIEW , DETAILS }
 
- Protected Attributes inherited from v8::internal::StackFrame
const StackFrameIteratorBase *const iterator_
 

Detailed Description

Definition at line 971 of file frames.h.

Constructor & Destructor Documentation

◆ ApiCallbackExitFrame()

v8::internal::ApiCallbackExitFrame::ApiCallbackExitFrame ( StackFrameIteratorBase * iterator)
inlineexplicitprotected

Definition at line 163 of file frames-inl.h.

Member Function Documentation

◆ cast()

static ApiCallbackExitFrame * v8::internal::ApiCallbackExitFrame::cast ( StackFrame * frame)
inlinestatic

Definition at line 997 of file frames.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ComputeParametersCount()

int v8::internal::ApiCallbackExitFrame::ComputeParametersCount ( ) const
inline

Definition at line 192 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ context()

Tagged< Object > v8::internal::ApiCallbackExitFrame::context ( ) const
inlineoverridevirtual

Reimplemented from v8::internal::CommonFrame.

Definition at line 167 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFunction()

DirectHandle< JSFunction > v8::internal::ApiCallbackExitFrame::GetFunction ( ) const

Definition at line 1280 of file frames.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetFunctionTemplateInfo()

DirectHandle< FunctionTemplateInfo > v8::internal::ApiCallbackExitFrame::GetFunctionTemplateInfo ( ) const

Definition at line 1304 of file frames.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetParameter()

Tagged< Object > v8::internal::ApiCallbackExitFrame::GetParameter ( int i) const
inline

Definition at line 199 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetParameters()

DirectHandle< FixedArray > v8::internal::ApiCallbackExitFrame::GetParameters ( ) const

Definition at line 1316 of file frames.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsConstructor()

bool v8::internal::ApiCallbackExitFrame::IsConstructor ( ) const
inline

Definition at line 206 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Print()

void v8::internal::ApiCallbackExitFrame::Print ( StringStream * accumulator,
PrintMode mode,
int index ) const
overridevirtual

Reimplemented from v8::internal::StackFrame.

Definition at line 1424 of file frames.cc.

Here is the call graph for this function:

◆ receiver()

Tagged< Object > v8::internal::ApiCallbackExitFrame::receiver ( ) const
inline

Definition at line 176 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_target()

void v8::internal::ApiCallbackExitFrame::set_target ( Tagged< HeapObject > function) const
inlineprivate

Definition at line 187 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Summarize()

FrameSummaries v8::internal::ApiCallbackExitFrame::Summarize ( ) const
overridevirtual

Reimplemented from v8::internal::CommonFrame.

Definition at line 1328 of file frames.cc.

Here is the call graph for this function:

◆ target()

Tagged< HeapObject > v8::internal::ApiCallbackExitFrame::target ( ) const
inlineprivate

Definition at line 181 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ target_slot()

FullObjectSlot v8::internal::ApiCallbackExitFrame::target_slot ( ) const
inlineprivate

Definition at line 172 of file frames-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ type()

Type v8::internal::ApiCallbackExitFrame::type ( ) const
inlineoverridevirtual

Implements v8::internal::StackFrame.

Definition at line 973 of file frames.h.

Friends And Related Symbol Documentation

◆ StackFrameIteratorBase

friend class StackFrameIteratorBase
friend

Definition at line 1014 of file frames.h.


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