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


Public Member Functions | |
| UsePosition (LifetimePosition pos, LOperand *operand, LOperand *hint) | |
| LOperand * | operand () const |
| bool | HasOperand () const |
| LOperand * | hint () const |
| 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 242 of file lithium-allocator.h.
| UsePosition | ( | LifetimePosition | pos, |
| LOperand * | operand, | ||
| LOperand * | hint | ||
| ) |
Definition at line 61 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 79 of file lithium-allocator.cc.
References v8::internal::NULL.
Referenced by LiveRange::AddUsePosition(), and LiveRange::FirstHint().
|
inline |
Definition at line 247 of file lithium-allocator.h.
References v8::internal::NULL.
|
inline |
Definition at line 249 of file lithium-allocator.h.
Referenced by LiveRange::FirstHint().
|
inline |
Definition at line 255 of file lithium-allocator.h.
Referenced by LiveRange::AddUsePosition(), LiveRange::FirstHint(), LiveRange::NextRegisterPosition(), LiveRange::NextUsePosition(), LiveRange::NextUsePositionRegisterIsBeneficial(), LiveRange::PreviousUsePositionRegisterIsBeneficial(), and LiveRange::SplitAt().
|
inline |
Definition at line 246 of file lithium-allocator.h.
|
inline |
Definition at line 254 of file lithium-allocator.h.
Referenced by LiveRange::AddUsePosition(), LiveRange::CanBeSpilled(), LiveRange::NextUsePosition(), LiveRange::PreviousUsePositionRegisterIsBeneficial(), LiveRange::ShouldBeAllocatedBefore(), and LiveRange::SplitAt().
| bool RegisterIsBeneficial | ( | ) | const |
Definition at line 89 of file lithium-allocator.cc.
Referenced by LiveRange::NextUsePositionRegisterIsBeneficial(), and LiveRange::PreviousUsePositionRegisterIsBeneficial().
| bool RequiresRegister | ( | ) | const |
Definition at line 84 of file lithium-allocator.cc.
Referenced by LiveRange::NextRegisterPosition().
|
friend |
Definition at line 267 of file lithium-allocator.h.