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

#include <lithium.h>

Inheritance diagram for LEnvironment:
Collaboration diagram for LEnvironment:

Public Member Functions

 LEnvironment (Handle< JSFunction > closure, FrameType frame_type, int ast_id, int parameter_count, int argument_count, int value_count, LEnvironment *outer, Zone *zone)
 
Handle< JSFunctionclosure () const
 
FrameType frame_type () const
 
int arguments_stack_height () const
 
int deoptimization_index () const
 
int translation_index () const
 
int ast_id () const
 
int parameter_count () const
 
int pc_offset () const
 
LOperand ** spilled_registers () const
 
LOperand ** spilled_double_registers () const
 
const ZoneList< LOperand * > * values () const
 
LEnvironmentouter () const
 
void AddValue (LOperand *operand, Representation representation)
 
bool HasTaggedValueAt (int index) const
 
void Register (int deoptimization_index, int translation_index, int pc_offset)
 
bool HasBeenRegistered () const
 
void SetSpilledRegisters (LOperand **registers, LOperand **double_registers)
 
void PrintTo (StringStream *stream)
 
Zonezone () const
 
- Public Member Functions inherited from ZoneObject
 INLINE (void *operator new(size_t size, Zone *zone))
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Detailed Description

Definition at line 454 of file lithium.h.

Constructor & Destructor Documentation

LEnvironment ( Handle< JSFunction closure,
FrameType  frame_type,
int  ast_id,
int  parameter_count,
int  argument_count,
int  value_count,
LEnvironment outer,
Zone zone 
)
inline

Definition at line 456 of file lithium.h.

Member Function Documentation

void AddValue ( LOperand operand,
Representation  representation 
)
inline

Definition at line 494 of file lithium.h.

References BitVector::Add(), Representation::IsTagged(), and LEnvironment::zone().

int arguments_stack_height ( ) const
inline

Definition at line 481 of file lithium.h.

Referenced by LEnvironment::PrintTo().

int ast_id ( ) const
inline

Definition at line 484 of file lithium.h.

Referenced by LEnvironment::PrintTo().

Handle<JSFunction> closure ( ) const
inline

Definition at line 479 of file lithium.h.

int deoptimization_index ( ) const
inline

Definition at line 482 of file lithium.h.

Referenced by LEnvironment::Register().

FrameType frame_type ( ) const
inline

Definition at line 480 of file lithium.h.

bool HasBeenRegistered ( ) const
inline

Definition at line 513 of file lithium.h.

Referenced by LEnvironment::Register().

bool HasTaggedValueAt ( int  index) const
inline

Definition at line 501 of file lithium.h.

References BitVector::Contains().

LEnvironment* outer ( ) const
inline

Definition at line 492 of file lithium.h.

int parameter_count ( ) const
inline

Definition at line 485 of file lithium.h.

Referenced by LEnvironment::PrintTo().

int pc_offset ( ) const
inline

Definition at line 486 of file lithium.h.

Referenced by LEnvironment::Register().

void Register ( int  deoptimization_index,
int  translation_index,
int  pc_offset 
)
inline
void SetSpilledRegisters ( LOperand **  registers,
LOperand **  double_registers 
)
inline

Definition at line 517 of file lithium.h.

LOperand** spilled_double_registers ( ) const
inline

Definition at line 488 of file lithium.h.

LOperand** spilled_registers ( ) const
inline

Definition at line 487 of file lithium.h.

int translation_index ( ) const
inline

Definition at line 483 of file lithium.h.

Referenced by LEnvironment::Register().

const ZoneList<LOperand*>* values ( ) const
inline

Definition at line 491 of file lithium.h.

Zone* zone ( ) const
inline

Definition at line 525 of file lithium.h.

Referenced by LEnvironment::AddValue().


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