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

#include <lithium-allocator.h>

Inheritance diagram for UsePosition:
Collaboration diagram for UsePosition:

Public Member Functions

 UsePosition (LifetimePosition pos, LOperand *operand, LOperand *hint)
 
LOperandoperand () const
 
bool HasOperand () const
 
LOperandhint () const
 
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 242 of file lithium-allocator.h.

Constructor & Destructor Documentation

Member Function Documentation

bool HasHint ( ) const

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

References v8::internal::NULL.

Referenced by LiveRange::AddUsePosition(), and LiveRange::FirstHint().

bool HasOperand ( ) const
inline

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

References v8::internal::NULL.

LOperand* hint ( ) const
inline

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

Referenced by LiveRange::FirstHint().

LOperand* operand ( ) const
inline

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

bool RegisterIsBeneficial ( ) const
bool RequiresRegister ( ) const

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

Referenced by LiveRange::NextRegisterPosition().

Friends And Related Function Documentation

friend class LiveRange
friend

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


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