v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <code-stubs.h>
Public Types | |
enum | Mode { CLONE_ELEMENTS, CLONE_DOUBLE_ELEMENTS, COPY_ON_WRITE_ELEMENTS, CLONE_ANY_ELEMENTS, LAST_CLONE_MODE = CLONE_ANY_ELEMENTS } |
Public Types inherited from HydrogenCodeStub | |
enum | InitializationState { UNINITIALIZED, INITIALIZED } |
Public Member Functions | |
FastCloneShallowArrayStub (Mode mode, AllocationSiteMode allocation_site_mode, int length) | |
Mode | mode () const |
int | length () const |
AllocationSiteMode | allocation_site_mode () const |
ElementsKind | ComputeElementsKind () const |
virtual Handle< Code > | GenerateCode (Isolate *isolate) |
virtual void | InitializeInterfaceDescriptor (Isolate *isolate, CodeStubInterfaceDescriptor *descriptor) |
Public Member Functions inherited from HydrogenCodeStub | |
HydrogenCodeStub (InitializationState state=INITIALIZED) | |
virtual Code::Kind | GetCodeKind () const |
CodeStubInterfaceDescriptor * | GetInterfaceDescriptor (Isolate *isolate) |
bool | IsUninitialized () |
Handle< Code > | GenerateLightweightMissCode (Isolate *isolate) |
template<class StateType > | |
void | TraceTransition (StateType from, StateType to) |
Static Public Member Functions | |
static void | InstallDescriptors (Isolate *isolate) |
Static Public Member Functions inherited from HydrogenCodeStub | |
template<class SubClass > | |
static Handle< Code > | GetUninitialized (Isolate *isolate) |
Static Public Attributes | |
static const int | kMaximumClonedLength = 8 |
static const int | kFastCloneModeCount = LAST_CLONE_MODE + 1 |
Definition at line 600 of file code-stubs.h.
enum Mode |
Enumerator | |
---|---|
CLONE_ELEMENTS | |
CLONE_DOUBLE_ELEMENTS | |
COPY_ON_WRITE_ELEMENTS | |
CLONE_ANY_ELEMENTS | |
LAST_CLONE_MODE |
Definition at line 604 of file code-stubs.h.
|
inline |
Definition at line 614 of file code-stubs.h.
References ASSERT_GE, ASSERT_LE, and FastCloneShallowArrayStub::kMaximumClonedLength.
|
inline |
Definition at line 626 of file code-stubs.h.
|
inline |
Definition at line 630 of file code-stubs.h.
References FastCloneShallowArrayStub::CLONE_ANY_ELEMENTS, FastCloneShallowArrayStub::CLONE_DOUBLE_ELEMENTS, FastCloneShallowArrayStub::CLONE_ELEMENTS, FastCloneShallowArrayStub::COPY_ON_WRITE_ELEMENTS, v8::internal::FAST_DOUBLE_ELEMENTS, v8::internal::FAST_ELEMENTS, v8::internal::LAST_ELEMENTS_KIND, FastCloneShallowArrayStub::mode(), and UNREACHABLE.
Implements HydrogenCodeStub.
Definition at line 419 of file code-stubs-hydrogen.cc.
|
virtual |
Implements HydrogenCodeStub.
|
static |
Definition at line 753 of file code-stubs.cc.
References FastCloneShallowArrayStub::CLONE_ELEMENTS, and v8::internal::DONT_TRACK_ALLOCATION_SITE.
|
inline |
Definition at line 625 of file code-stubs.h.
|
inline |
Definition at line 624 of file code-stubs.h.
Referenced by FastCloneShallowArrayStub::ComputeElementsKind().
|
static |
Definition at line 612 of file code-stubs.h.
|
static |
Definition at line 603 of file code-stubs.h.
Referenced by FastCloneShallowArrayStub::FastCloneShallowArrayStub().