V8 Project
v8::internal::ConstructFrame Class Reference

#include <frames.h>

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

Public Member Functions

virtual Type type () const
 
- Public Member Functions inherited from v8::internal::InternalFrame
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...
 

Static Public Member Functions

static ConstructFramecast (StackFrame *frame)
 
- Static Public Member Functions inherited from v8::internal::InternalFrame
static InternalFramecast (StackFrame *frame)
 
- Static Public Member Functions inherited from v8::internal::StandardFrame
static ObjectGetExpression (Address fp, int index)
 
static StandardFramecast (StackFrame *frame)
 

Protected Member Functions

 ConstructFrame (StackFrameIteratorBase *iterator)
 
- Protected Member Functions inherited from v8::internal::InternalFrame
 InternalFrame (StackFrameIteratorBase *iterator)
 
virtual Address GetCallerStackPointer () 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 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 784 of file frames.h.

Constructor & Destructor Documentation

◆ ConstructFrame()

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

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

296  : InternalFrame(iterator) {
297 }
InternalFrame(StackFrameIteratorBase *iterator)
Definition: frames-inl.h:285

Member Function Documentation

◆ cast()

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

Definition at line 788 of file frames.h.

788  {
789  DCHECK(frame->is_construct());
790  return static_cast<ConstructFrame*>(frame);
791  }
ConstructFrame(StackFrameIteratorBase *iterator)
Definition: frames-inl.h:295
#define DCHECK(condition)
Definition: logging.h:205

References DCHECK.

◆ type()

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

Reimplemented from v8::internal::InternalFrame.

Definition at line 786 of file frames.h.

786 { return CONSTRUCT; }

Friends And Related Function Documentation

◆ StackFrameIteratorBase

friend class StackFrameIteratorBase
friend

Definition at line 797 of file frames.h.


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