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

#include <deoptimizer.h>

Public Member Functions

 FrameDescription (uint32_t frame_size, JSFunction *function)
 
void * operator new (size_t size, uint32_t frame_size)
 
void operator delete (void *pointer, uint32_t frame_size)
 
void operator delete (void *description)
 
uint32_t GetFrameSize () const
 
JSFunctionGetFunction () const
 
unsigned GetOffsetFromSlotIndex (int slot_index)
 
intptr_t GetFrameSlot (unsigned offset)
 
double GetDoubleFrameSlot (unsigned offset)
 
void SetFrameSlot (unsigned offset, intptr_t value)
 
intptr_t GetRegister (unsigned n) const
 
double GetDoubleRegister (unsigned n) const
 
void SetRegister (unsigned n, intptr_t value)
 
void SetDoubleRegister (unsigned n, double value)
 
intptr_t GetTop () const
 
void SetTop (intptr_t top)
 
intptr_t GetPc () const
 
void SetPc (intptr_t pc)
 
intptr_t GetFp () const
 
void SetFp (intptr_t fp)
 
intptr_t GetContext () const
 
void SetContext (intptr_t context)
 
SmiGetState () const
 
void SetState (Smi *state)
 
void SetContinuation (intptr_t pc)
 
StackFrame::Type GetFrameType () const
 
void SetFrameType (StackFrame::Type type)
 
int ComputeParametersCount ()
 
ObjectGetParameter (int index)
 
unsigned GetExpressionCount ()
 
ObjectGetExpression (int index)
 

Static Public Member Functions

static int registers_offset ()
 
static int double_registers_offset ()
 
static int frame_size_offset ()
 
static int pc_offset ()
 
static int state_offset ()
 
static int continuation_offset ()
 
static int frame_content_offset ()
 

Detailed Description

Definition at line 350 of file deoptimizer.h.

Constructor & Destructor Documentation

Member Function Documentation

int ComputeParametersCount ( )
static int continuation_offset ( )
inlinestatic

Definition at line 475 of file deoptimizer.h.

References OFFSET_OF.

static int double_registers_offset ( )
inlinestatic

Definition at line 459 of file deoptimizer.h.

References OFFSET_OF.

static int frame_content_offset ( )
inlinestatic

Definition at line 479 of file deoptimizer.h.

References OFFSET_OF.

static int frame_size_offset ( )
inlinestatic

Definition at line 463 of file deoptimizer.h.

References OFFSET_OF.

intptr_t GetContext ( ) const
inline

Definition at line 432 of file deoptimizer.h.

double GetDoubleFrameSlot ( unsigned  offset)
inline

Definition at line 382 of file deoptimizer.h.

double GetDoubleRegister ( unsigned  n) const
inline

Definition at line 408 of file deoptimizer.h.

References ARRAY_SIZE, and ASSERT.

Object * GetExpression ( int  index)

Definition at line 1290 of file deoptimizer.cc.

References ASSERT_EQ, and FrameDescription::GetOffsetFromSlotIndex().

unsigned GetExpressionCount ( )
intptr_t GetFp ( ) const
inline

Definition at line 429 of file deoptimizer.h.

uint32_t GetFrameSize ( ) const
inline
intptr_t GetFrameSlot ( unsigned  offset)
inline

Definition at line 378 of file deoptimizer.h.

StackFrame::Type GetFrameType ( ) const
inline

Definition at line 440 of file deoptimizer.h.

Referenced by Deoptimizer::ConvertJSFrameIndexToFrameIndex().

JSFunction* GetFunction ( ) const
inline

Definition at line 374 of file deoptimizer.h.

unsigned GetOffsetFromSlotIndex ( int  slot_index)
Object * GetParameter ( int  index)
intptr_t GetPc ( ) const
inline

Definition at line 426 of file deoptimizer.h.

intptr_t GetRegister ( unsigned  n) const
inline

Definition at line 403 of file deoptimizer.h.

References ARRAY_SIZE, and ASSERT.

Smi* GetState ( ) const
inline

Definition at line 435 of file deoptimizer.h.

intptr_t GetTop ( ) const
inline

Definition at line 423 of file deoptimizer.h.

void operator delete ( void *  pointer,
uint32_t  frame_size 
)
inline

Definition at line 361 of file deoptimizer.h.

void operator delete ( void *  description)
inline

Definition at line 365 of file deoptimizer.h.

void* operator new ( size_t  size,
uint32_t  frame_size 
)
inline

Definition at line 355 of file deoptimizer.h.

References v8::internal::kPointerSize.

static int pc_offset ( )
inlinestatic

Definition at line 467 of file deoptimizer.h.

References OFFSET_OF.

static int registers_offset ( )
inlinestatic

Definition at line 455 of file deoptimizer.h.

References OFFSET_OF.

void SetContext ( intptr_t  context)
inline

Definition at line 433 of file deoptimizer.h.

void SetContinuation ( intptr_t  pc)
inline

Definition at line 438 of file deoptimizer.h.

References v8::internal::pc.

void SetDoubleRegister ( unsigned  n,
double  value 
)
inline

Definition at line 418 of file deoptimizer.h.

References ARRAY_SIZE, and ASSERT.

void SetFp ( intptr_t  fp)
inline

Definition at line 430 of file deoptimizer.h.

References v8::internal::fp.

void SetFrameSlot ( unsigned  offset,
intptr_t  value 
)
inline

Definition at line 399 of file deoptimizer.h.

Referenced by FrameDescription::FrameDescription().

void SetFrameType ( StackFrame::Type  type)
inline

Definition at line 441 of file deoptimizer.h.

References v8::internal::type().

void SetPc ( intptr_t  pc)
inline

Definition at line 427 of file deoptimizer.h.

References v8::internal::pc.

void SetRegister ( unsigned  n,
intptr_t  value 
)
inline

Definition at line 413 of file deoptimizer.h.

References ARRAY_SIZE, and ASSERT.

Referenced by FrameDescription::FrameDescription().

void SetState ( Smi state)
inline

Definition at line 436 of file deoptimizer.h.

void SetTop ( intptr_t  top)
inline

Definition at line 424 of file deoptimizer.h.

static int state_offset ( )
inlinestatic

Definition at line 471 of file deoptimizer.h.

References OFFSET_OF.


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