v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StandardFrame Class Reference

#include <frames.h>

Inheritance diagram for StandardFrame:
Collaboration diagram for StandardFrame:

Public Member Functions

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 StackFrame
int GetLineNumber () const
 
int GetColumn () const
 
int GetScriptId () const
 
Local< StringGetScriptName () const
 
Local< StringGetScriptNameOrSourceURL () const
 
Local< StringGetFunctionName () const
 
bool IsEval () const
 
bool IsConstructor () const
 

Static Public Member Functions

static ObjectGetExpression (Address fp, int index)
 
static StandardFramecast (StackFrame *frame)
 

Protected Member Functions

 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
 

Static Protected Member Functions

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)
 

Friends

class StackFrame
 
class SafeStackFrameIterator
 

Detailed Description

Definition at line 476 of file frames.h.

Constructor & Destructor Documentation

StandardFrame ( StackFrameIteratorBase *  iterator)
inlineexplicitprotected

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

Member Function Documentation

Address caller_pc ( ) const
inlineprotected
static StandardFrame* cast ( StackFrame frame)
inlinestatic

Definition at line 492 of file frames.h.

References ASSERT.

void ComputeCallerState ( State *  state) const
protectedvirtual
Address ComputeConstantPoolAddress ( Address  fp)
inlinestaticprotected
int ComputeExpressionsCount ( ) const
Object * GetExpression ( Address  fp,
int  index 
)
static

Definition at line 592 of file frames.cc.

References StandardFrame::GetExpressionAddress(), and Memory::Object_at().

Address GetExpressionAddress ( Address  fp,
int  n 
)
staticprotected
virtual bool is_standard ( ) const
inlinevirtual

Definition at line 479 of file frames.h.

bool IsArgumentsAdaptorFrame ( Address  fp)
inlinestaticprotected
bool IsConstructFrame ( Address  fp)
inlinestaticprotected
bool IsExpressionInsideHandler ( int  n) const
protected

Definition at line 630 of file frames.cc.

References StandardFrame::GetExpressionAddress().

Referenced by JavaScriptFrame::Print().

void IterateExpressions ( ObjectVisitor *  v) const
protected
void SetCallerFp ( Address  caller_fp)
virtual
void SetExpression ( int  index,
Object value 
)
inline

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

References StandardFrame::GetExpressionAddress(), and Memory::Object_at().

Friends And Related Function Documentation

friend class SafeStackFrameIterator
friend

Definition at line 539 of file frames.h.

friend class StackFrame
friend

Definition at line 538 of file frames.h.


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