v8  3.14.5(node0.10.28)
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
 
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 (StackFrameIterator *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
 

Static Protected Member Functions

static Address ComputePCAddress (Address fp)
 
static Address GetExpressionAddress (Address fp, int n)
 
static bool IsArgumentsAdaptorFrame (Address fp)
 
static bool IsConstructFrame (Address fp)
 

Friends

class StackFrame
 
class StackFrameIterator
 

Detailed Description

Definition at line 397 of file frames.h.

Constructor & Destructor Documentation

StandardFrame ( StackFrameIterator iterator)
inlineexplicitprotected

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

Member Function Documentation

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

Definition at line 413 of file frames.h.

References ASSERT.

void ComputeCallerState ( State *  state) const
protectedvirtual
Address ComputePCAddress ( Address  fp)
inlinestaticprotected
Object * context ( ) const
inline
Object * GetExpression ( Address  fp,
int  index 
)
static

Definition at line 575 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 400 of file frames.h.

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

Definition at line 611 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

Friends And Related Function Documentation

friend class StackFrame
friend

Definition at line 452 of file frames.h.

friend class StackFrameIterator
friend

Definition at line 453 of file frames.h.


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