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

#include <frames.h>

Inheritance diagram for ArgumentsAdaptorFrame:
Collaboration diagram for ArgumentsAdaptorFrame:

Public Member Functions

virtual Type type () const
 
virtual Codeunchecked_code () const
 
virtual void Print (StringStream *accumulator, PrintMode mode, int index) const
 
- Public Member Functions inherited from JavaScriptFrame
Objectfunction () const
 
Objectreceiver () const
 
void set_receiver (Object *value)
 
Address GetParameterSlot (int index) const
 
ObjectGetParameter (int index) const
 
int ComputeParametersCount () const
 
bool IsConstructor () const
 
bool has_adapted_arguments () const
 
int GetArgumentsLength () const
 
virtual void Iterate (ObjectVisitor *v) const
 
virtual int GetInlineCount ()
 
virtual void GetFunctions (List< JSFunction * > *functions)
 
virtual void Summarize (List< FrameSummary > *frames)
 
- Public Member Functions inherited from 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 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 ArgumentsAdaptorFramecast (StackFrame *frame)
 
- Static Public Member Functions inherited from JavaScriptFrame
static JavaScriptFramecast (StackFrame *frame)
 
static void PrintTop (FILE *file, bool print_args, bool print_line_number)
 
- Static Public Member Functions inherited from StandardFrame
static ObjectGetExpression (Address fp, int index)
 
static StandardFramecast (StackFrame *frame)
 

Protected Member Functions

 ArgumentsAdaptorFrame (StackFrameIterator *iterator)
 
virtual int GetNumberOfIncomingArguments () const
 
virtual Address GetCallerStackPointer () const
 
- Protected Member Functions inherited from JavaScriptFrame
 JavaScriptFrame (StackFrameIterator *iterator)
 
void IterateArguments (ObjectVisitor *v) const
 
- Protected Member Functions inherited from StandardFrame
 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
 

Friends

class StackFrameIterator
 

Additional Inherited Members

- Static Protected Member Functions inherited from StandardFrame
static Address ComputePCAddress (Address fp)
 
static Address GetExpressionAddress (Address fp, int n)
 
static bool IsArgumentsAdaptorFrame (Address fp)
 
static bool IsConstructFrame (Address fp)
 

Detailed Description

Definition at line 589 of file frames.h.

Constructor & Destructor Documentation

ArgumentsAdaptorFrame ( StackFrameIterator iterator)
inlineexplicitprotected

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

Member Function Documentation

static ArgumentsAdaptorFrame* cast ( StackFrame frame)
inlinestatic

Definition at line 596 of file frames.h.

References ASSERT.

Address GetCallerStackPointer ( ) const
protectedvirtual

Reimplemented from JavaScriptFrame.

Definition at line 1019 of file frames.cc.

References v8::internal::fp, and StandardFrameConstants::kCallerSPOffset.

int GetNumberOfIncomingArguments ( ) const
protectedvirtual

Reimplemented from JavaScriptFrame.

Definition at line 1014 of file frames.cc.

References Smi::cast(), StandardFrame::GetExpression(), and Smi::value().

void Print ( StringStream accumulator,
PrintMode  mode,
int  index 
) const
virtual
virtual Type type ( ) const
inlinevirtual

Reimplemented from JavaScriptFrame.

Definition at line 591 of file frames.h.

References v8::internal::ARGUMENTS_ADAPTOR.

Code * unchecked_code ( ) const
virtual

Reimplemented from JavaScriptFrame.

Definition at line 1031 of file frames.cc.

Friends And Related Function Documentation

friend class StackFrameIterator
friend

Definition at line 614 of file frames.h.


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