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
ExitFrame Class Reference

#include <frames.h>

Inheritance diagram for ExitFrame:
Collaboration diagram for ExitFrame:

Public Member Functions

virtual Type type () const
 
virtual Codeunchecked_code () const
 
Object *& code_slot () const
 
Object *& constant_pool_slot () const
 
virtual void Iterate (ObjectVisitor *v) 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 ExitFramecast (StackFrame *frame)
 
static Type GetStateForFramePointer (Address fp, State *state)
 
static Address ComputeStackPointer (Address fp)
 
static void FillState (Address fp, Address sp, State *state)
 

Protected Member Functions

 ExitFrame (StackFrameIteratorBase *iterator)
 
virtual Address GetCallerStackPointer () const
 

Friends

class StackFrameIteratorBase
 

Detailed Description

Definition at line 438 of file frames.h.

Constructor & Destructor Documentation

ExitFrame ( StackFrameIteratorBase iterator)
inlineexplicitprotected

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

Member Function Documentation

static ExitFrame* cast ( StackFrame frame)
inlinestatic

Definition at line 452 of file frames.h.

References ASSERT.

Object *& code_slot ( ) const
Address ComputeStackPointer ( Address  fp)
static

Definition at line 571 of file frames.cc.

References Memory::Address_at(), and ExitFrameConstants::kSPOffset.

Referenced by ExitFrame::GetStateForFramePointer().

Object*& constant_pool_slot ( ) const

Referenced by ExitFrame::Iterate().

void FillState ( Address  fp,
Address  sp,
State *  state 
)
static
Address GetCallerStackPointer ( ) const
protectedvirtual

Definition at line 557 of file frames.cc.

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

StackFrame::Type GetStateForFramePointer ( Address  fp,
State *  state 
)
static
void Iterate ( ObjectVisitor *  v) const
virtual

Definition at line 546 of file frames.cc.

References ExitFrame::code_slot(), and ExitFrame::constant_pool_slot().

void SetCallerFp ( Address  caller_fp)
virtual
virtual Type type ( ) const
inlinevirtual

Definition at line 440 of file frames.h.

Code * unchecked_code ( ) const
virtual

Definition at line 523 of file frames.cc.

References ExitFrame::code_slot().

Friends And Related Function Documentation

friend class StackFrameIteratorBase
friend

Definition at line 472 of file frames.h.


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