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

#include <debug-frames.h>

Collaboration diagram for v8::internal::FrameInspector:

Public Member Functions

 FrameInspector (CommonFrame *frame, int inlined_frame_index, Isolate *isolate)
 
 FrameInspector (const FrameInspector &)=delete
 
FrameInspectoroperator= (const FrameInspector &)=delete
 
 ~FrameInspector ()
 
Handle< JSFunctionGetFunction () const
 
Handle< ScriptGetScript ()
 
Handle< ObjectGetParameter (int index)
 
Handle< ObjectGetExpression (int index)
 
int GetSourcePosition ()
 
bool IsConstructor ()
 
Handle< ObjectGetContext ()
 
Handle< ObjectGetReceiver ()
 
DirectHandle< StringGetFunctionName ()
 
bool IsJavaScript ()
 
JavaScriptFramejavascript_frame ()
 
int inlined_frame_index () const
 

Private Member Functions

bool ParameterIsShadowedByContextLocal (DirectHandle< ScopeInfo > info, DirectHandle< String > parameter_name)
 

Private Attributes

CommonFrameframe_
 
int inlined_frame_index_
 
std::unique_ptr< DeoptimizedFrameInfodeoptimized_frame_
 
Isolateisolate_
 
Handle< Scriptscript_
 
Handle< Objectreceiver_
 
Handle< JSFunctionfunction_
 
int source_position_ = -1
 
bool is_optimized_ = false
 
bool is_constructor_ = false
 

Detailed Description

Definition at line 22 of file debug-frames.h.

Constructor & Destructor Documentation

◆ FrameInspector() [1/2]

v8::internal::FrameInspector::FrameInspector ( CommonFrame * frame,
int inlined_frame_index,
Isolate * isolate )

Definition at line 18 of file debug-frames.cc.

Here is the call graph for this function:

◆ FrameInspector() [2/2]

v8::internal::FrameInspector::FrameInspector ( const FrameInspector & )
delete

◆ ~FrameInspector()

v8::internal::FrameInspector::~FrameInspector ( )
default

Member Function Documentation

◆ GetContext()

Handle< Object > v8::internal::FrameInspector::GetContext ( )

Definition at line 72 of file debug-frames.cc.

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

◆ GetExpression()

Handle< Object > v8::internal::FrameInspector::GetExpression ( int index)

Definition at line 67 of file debug-frames.cc.

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

◆ GetFunction()

Handle< JSFunction > v8::internal::FrameInspector::GetFunction ( ) const
inline

Definition at line 30 of file debug-frames.h.

Here is the caller graph for this function:

◆ GetFunctionName()

DirectHandle< String > v8::internal::FrameInspector::GetFunctionName ( )

Definition at line 77 of file debug-frames.cc.

Here is the call graph for this function:

◆ GetParameter()

Handle< Object > v8::internal::FrameInspector::GetParameter ( int index)

Definition at line 61 of file debug-frames.cc.

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

◆ GetReceiver()

Handle< Object > v8::internal::FrameInspector::GetReceiver ( )
inline

Definition at line 37 of file debug-frames.h.

Here is the caller graph for this function:

◆ GetScript()

Handle< Script > v8::internal::FrameInspector::GetScript ( )
inline

Definition at line 31 of file debug-frames.h.

Here is the caller graph for this function:

◆ GetSourcePosition()

int v8::internal::FrameInspector::GetSourcePosition ( )
inline

Definition at line 34 of file debug-frames.h.

Here is the caller graph for this function:

◆ inlined_frame_index()

int v8::internal::FrameInspector::inlined_frame_index ( ) const
inline

Definition at line 51 of file debug-frames.h.

Here is the caller graph for this function:

◆ IsConstructor()

bool v8::internal::FrameInspector::IsConstructor ( )
inline

Definition at line 35 of file debug-frames.h.

◆ IsJavaScript()

bool v8::internal::FrameInspector::IsJavaScript ( )

Definition at line 108 of file debug-frames.cc.

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

◆ javascript_frame()

JavaScriptFrame * v8::internal::FrameInspector::javascript_frame ( )

Definition at line 57 of file debug-frames.cc.

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

◆ operator=()

FrameInspector & v8::internal::FrameInspector::operator= ( const FrameInspector & )
delete

◆ ParameterIsShadowedByContextLocal()

bool v8::internal::FrameInspector::ParameterIsShadowedByContextLocal ( DirectHandle< ScopeInfo > info,
DirectHandle< String > parameter_name )
private

Definition at line 110 of file debug-frames.cc.

Member Data Documentation

◆ deoptimized_frame_

std::unique_ptr<DeoptimizedFrameInfo> v8::internal::FrameInspector::deoptimized_frame_
private

Definition at line 59 of file debug-frames.h.

◆ frame_

CommonFrame* v8::internal::FrameInspector::frame_
private

Definition at line 57 of file debug-frames.h.

◆ function_

Handle<JSFunction> v8::internal::FrameInspector::function_
private

Definition at line 63 of file debug-frames.h.

◆ inlined_frame_index_

int v8::internal::FrameInspector::inlined_frame_index_
private

Definition at line 58 of file debug-frames.h.

◆ is_constructor_

bool v8::internal::FrameInspector::is_constructor_ = false
private

Definition at line 66 of file debug-frames.h.

◆ is_optimized_

bool v8::internal::FrameInspector::is_optimized_ = false
private

Definition at line 65 of file debug-frames.h.

◆ isolate_

Isolate* v8::internal::FrameInspector::isolate_
private

Definition at line 60 of file debug-frames.h.

◆ receiver_

Handle<Object> v8::internal::FrameInspector::receiver_
private

Definition at line 62 of file debug-frames.h.

◆ script_

Handle<Script> v8::internal::FrameInspector::script_
private

Definition at line 61 of file debug-frames.h.

◆ source_position_

int v8::internal::FrameInspector::source_position_ = -1
private

Definition at line 64 of file debug-frames.h.


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