![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <lithium-allocator.h>


Public Member Functions | |
| UsePosition (LifetimePosition pos, LOperand *operand) | |
| LOperand * | operand () const |
| bool | HasOperand () const |
| LOperand * | hint () const |
| void | set_hint (LOperand *hint) |
| bool | HasHint () const |
| bool | RequiresRegister () const |
| bool | RegisterIsBeneficial () const |
| LifetimePosition | pos () const |
| UsePosition * | next () 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 |
Definition at line 245 of file lithium-allocator.h.
| UsePosition | ( | LifetimePosition | pos, |
| LOperand * | operand | ||
| ) |
Definition at line 59 of file lithium-allocator.cc.
References ASSERT, LUnallocated::cast(), LUnallocated::HasAnyPolicy(), LUnallocated::HasRegisterPolicy(), LifetimePosition::IsValid(), and v8::internal::NULL.
| bool HasHint | ( | ) | const |
Definition at line 75 of file lithium-allocator.cc.
References v8::internal::NULL.
Referenced by LiveRange::FirstPosWithHint().
|
inline |
Definition at line 250 of file lithium-allocator.h.
References v8::internal::NULL.
|
inline |
Definition at line 252 of file lithium-allocator.h.
Referenced by LiveRange::FirstHint(), and UsePosition::set_hint().
|
inline |
Definition at line 259 of file lithium-allocator.h.
Referenced by LiveRange::AddUsePosition(), LiveRange::FirstPosWithHint(), LiveRange::NextRegisterPosition(), LiveRange::NextUsePosition(), LiveRange::NextUsePositionRegisterIsBeneficial(), and LiveRange::SplitAt().
|
inline |
Definition at line 249 of file lithium-allocator.h.
|
inline |
Definition at line 258 of file lithium-allocator.h.
Referenced by LiveRange::AddUsePosition(), LiveRange::CanBeSpilled(), LiveRange::NextUsePosition(), LiveRange::ShouldBeAllocatedBefore(), and LiveRange::SplitAt().
| 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().
|
inline |
Definition at line 253 of file lithium-allocator.h.
References UsePosition::hint().
|
friend |
Definition at line 271 of file lithium-allocator.h.