V8 Project
v8::internal::StubFrame Class Reference

#include <frames.h>

+ Inheritance diagram for v8::internal::StubFrame:
+ Collaboration diagram for v8::internal::StubFrame:

Public Member Functions

virtual Type type () const
 
virtual void Iterate (ObjectVisitor *v) const
 
virtual Codeunchecked_code () const
 
- Public Member Functions inherited from v8::internal::StandardFrame
virtual bool is_standard () const
 
Objectcontext () const
 
ObjectGetExpression (int index) const
 
void SetExpression (int index, Object *value)
 
int ComputeExpressionsCount () const
 
virtual void SetCallerFp (Address caller_fp)
 
- Public Member Functions inherited from v8::StackFrame
int GetLineNumber () const
 Returns the number, 1-based, of the line for the associate function call. More...
 
int GetColumn () const
 Returns the 1-based column offset on the line for the associated function call. More...
 
int GetScriptId () const
 Returns the id of the script for the function for this StackFrame. More...
 
Local< StringGetScriptName () const
 Returns the name of the resource that contains the script for the function for this StackFrame. More...
 
Local< StringGetScriptNameOrSourceURL () const
 Returns the name of the resource that contains the script for the function for this StackFrame or sourceURL value if the script name is undefined and its source ends with //# sourceURL=... More...
 
Local< StringGetFunctionName () const
 Returns the name of the function associated with this stack frame. More...
 
bool IsEval () const
 Returns whether or not the associated function is compiled via a call to eval(). More...
 
bool IsConstructor () const
 Returns whether or not the associated function is called as a constructor via "new". More...
 

Protected Member Functions

 StubFrame (StackFrameIteratorBase *iterator)
 
virtual Address GetCallerStackPointer () const
 
virtual int GetNumberOfIncomingArguments () const
 
- Protected Member Functions inherited from v8::internal::StandardFrame
 StandardFrame (StackFrameIteratorBase *iterator)
 
virtual void ComputeCallerState (State *state) const
 
Address caller_fp () const
 
Address caller_pc () const
 
void IterateExpressions (ObjectVisitor *v) const
 
Address GetExpressionAddress (int n) const
 
bool IsExpressionInsideHandler (int n) const
 
void IterateCompiledFrame (ObjectVisitor *v) const
 

Friends

class StackFrameIteratorBase
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::StandardFrame
static ObjectGetExpression (Address fp, int index)
 
static StandardFramecast (StackFrame *frame)
 
- Static Protected Member Functions inherited from v8::internal::StandardFrame
static Address ComputePCAddress (Address fp)
 
static Address ComputeConstantPoolAddress (Address fp)
 
static Address GetExpressionAddress (Address fp, int n)
 
static bool IsArgumentsAdaptorFrame (Address fp)
 
static bool IsConstructFrame (Address fp)
 

Detailed Description

Definition at line 642 of file frames.h.

Constructor & Destructor Documentation

◆ StubFrame()

v8::internal::StubFrame::StubFrame ( StackFrameIteratorBase iterator)
inlineexplicitprotected

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

271  : StandardFrame(iterator) {
272 }
StandardFrame(StackFrameIteratorBase *iterator)
Definition: frames-inl.h:149

Member Function Documentation

◆ GetCallerStackPointer()

Address v8::internal::StubFrame::GetCallerStackPointer ( ) const
protectedvirtual

Definition at line 698 of file frames.cc.

698  {
700 }
static const int kCallerSPDisplacement
Definition: frames-arm.h:102
const Register fp

References v8::internal::fp, and v8::internal::ExitFrameConstants::kCallerSPDisplacement.

◆ GetNumberOfIncomingArguments()

int v8::internal::StubFrame::GetNumberOfIncomingArguments ( ) const
protectedvirtual

Definition at line 703 of file frames.cc.

703  {
704  return 0;
705 }

◆ Iterate()

void v8::internal::StubFrame::Iterate ( ObjectVisitor v) const
virtual

Definition at line 688 of file frames.cc.

688  {
690 }
void IterateCompiledFrame(ObjectVisitor *v) const
Definition: frames.cc:616

References v8::internal::StandardFrame::IterateCompiledFrame().

+ Here is the call graph for this function:

◆ type()

virtual Type v8::internal::StubFrame::type ( ) const
inlinevirtual

Definition at line 644 of file frames.h.

644 { return STUB; }

References v8::internal::STUB.

◆ unchecked_code()

Code * v8::internal::StubFrame::unchecked_code ( ) const
virtual

Definition at line 693 of file frames.cc.

693  {
694  return static_cast<Code*>(isolate()->FindCodeObject(pc()));
695 }
const Register pc

References v8::internal::Isolate::FindCodeObject(), and v8::internal::pc.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ StackFrameIteratorBase

friend class StackFrameIteratorBase
friend

Definition at line 659 of file frames.h.


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