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

#include <lithium-allocator.h>

Inheritance diagram for UsePosition:
Collaboration diagram for UsePosition:

Public Member Functions

 UsePosition (LifetimePosition pos, LOperand *operand)
 
LOperandoperand () const
 
bool HasOperand () const
 
LOperandhint () const
 
void set_hint (LOperand *hint)
 
bool HasHint () const
 
bool RequiresRegister () const
 
bool RegisterIsBeneficial () const
 
LifetimePosition pos () const
 
UsePositionnext () 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)
 

Friends

class LiveRange
 

Detailed Description

Definition at line 245 of file lithium-allocator.h.

Constructor & Destructor Documentation

Member Function Documentation

bool HasHint ( ) const

Definition at line 75 of file lithium-allocator.cc.

References v8::internal::NULL.

Referenced by LiveRange::FirstPosWithHint().

bool HasOperand ( ) const
inline

Definition at line 250 of file lithium-allocator.h.

References v8::internal::NULL.

LOperand* hint ( ) const
inline

Definition at line 252 of file lithium-allocator.h.

Referenced by LiveRange::FirstHint(), and UsePosition::set_hint().

LOperand* operand ( ) const
inline

Definition at line 249 of file lithium-allocator.h.

bool RegisterIsBeneficial ( ) const

Definition at line 85 of file lithium-allocator.cc.

Referenced by LiveRange::NextUsePositionRegisterIsBeneficial().

bool RequiresRegister ( ) const

Definition at line 80 of file lithium-allocator.cc.

Referenced by LiveRange::NextRegisterPosition().

void set_hint ( LOperand hint)
inline

Definition at line 253 of file lithium-allocator.h.

References UsePosition::hint().

Friends And Related Function Documentation

friend class LiveRange
friend

Definition at line 271 of file lithium-allocator.h.


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