v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <code-stubs.h>
Data Structures | |
class | Types |
Public Types | |
enum | Type { UNDEFINED, BOOLEAN, NULL_TYPE, SMI, SPEC_OBJECT, STRING, SYMBOL, HEAP_NUMBER, NUMBER_OF_TYPES } |
Public Types inherited from HydrogenCodeStub | |
enum | InitializationState { UNINITIALIZED, INITIALIZED } |
Public Member Functions | |
STATIC_ASSERT (NUMBER_OF_TYPES<=8) | |
ToBooleanStub (Types types=Types()) | |
ToBooleanStub (ExtraICState state) | |
bool | UpdateStatus (Handle< Object > object) |
Types | GetTypes () |
virtual Handle< Code > | GenerateCode (Isolate *isolate) |
virtual void | InitializeInterfaceDescriptor (Isolate *isolate, CodeStubInterfaceDescriptor *descriptor) |
virtual Code::Kind | GetCodeKind () const |
virtual void | PrintState (StringStream *stream) |
virtual bool | SometimesSetsUpAFrame () |
virtual ExtraICState | GetExtraICState () |
virtual InlineCacheState | GetICState () |
Public Member Functions inherited from HydrogenCodeStub | |
HydrogenCodeStub (InitializationState state=INITIALIZED) | |
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 Handle< Code > | GetUninitialized (Isolate *isolate) |
Static Public Member Functions inherited from HydrogenCodeStub | |
template<class SubClass > | |
static Handle< Code > | GetUninitialized (Isolate *isolate) |
Definition at line 2327 of file code-stubs.h.
enum Type |
Enumerator | |
---|---|
UNDEFINED | |
BOOLEAN | |
NULL_TYPE | |
SMI | |
SPEC_OBJECT | |
STRING | |
SYMBOL | |
HEAP_NUMBER | |
NUMBER_OF_TYPES |
Definition at line 2329 of file code-stubs.h.
|
inlineexplicit |
Definition at line 2360 of file code-stubs.h.
Referenced by ToBooleanStub::GetUninitialized().
|
inlineexplicit |
Definition at line 2362 of file code-stubs.h.
Implements HydrogenCodeStub.
Definition at line 1050 of file code-stubs-hydrogen.cc.
|
inlinevirtual |
Reimplemented from HydrogenCodeStub.
Definition at line 2373 of file code-stubs.h.
|
inlinevirtual |
Definition at line 2389 of file code-stubs.h.
References EnumSet< E, T >::ToIntegral().
|
inlinevirtual |
Definition at line 2393 of file code-stubs.h.
References EnumSet< E, T >::IsEmpty(), v8::internal::MONOMORPHIC, and v8::internal::UNINITIALIZED.
|
inline |
Definition at line 2366 of file code-stubs.h.
Referenced by CodeStubGraphBuilder< Stub >::BuildCodeInitializedStub().
Definition at line 2385 of file code-stubs.h.
References ToBooleanStub::ToBooleanStub(), and HydrogenCodeStub::UNINITIALIZED.
|
virtual |
Implements HydrogenCodeStub.
Referenced by ToBooleanStub::InstallDescriptors().
|
inlinestatic |
Definition at line 2378 of file code-stubs.h.
References Isolate::code_stub_interface_descriptor(), and ToBooleanStub::InitializeInterfaceDescriptor().
|
virtual |
Definition at line 626 of file code-stubs.cc.
References ToBooleanStub::Types::Print().
|
inlinevirtual |
Definition at line 2376 of file code-stubs.h.
STATIC_ASSERT | ( | NUMBER_OF_TYPES<= | 8 | ) |
Definition at line 618 of file code-stubs.cc.
References HydrogenCodeStub::TraceTransition(), and ToBooleanStub::Types::UpdateStatus().
Referenced by ToBooleanIC::ToBoolean().