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

#include <code-stubs.h>

Inheritance diagram for StoreGlobalStub:
Collaboration diagram for StoreGlobalStub:

Public Member Functions

 StoreGlobalStub (bool is_constant, bool check_global)
 
Handle< CodeGetCodeCopyFromTemplate (Isolate *isolate, Handle< GlobalObject > global, Handle< PropertyCell > cell)
 
virtual Code::Kind kind () const
 
virtual Handle< CodeGenerateCode (Isolate *isolate)
 
virtual void InitializeInterfaceDescriptor (Isolate *isolate, CodeStubInterfaceDescriptor *descriptor)
 
bool is_constant () const
 
bool check_global () const
 
void set_is_constant (bool value)
 
Representation representation ()
 
void set_representation (Representation r)
 
- Public Member Functions inherited from HandlerStub
virtual Code::Kind GetCodeKind () const
 
virtual ExtraICState GetExtraICState ()
 
- Public Member Functions inherited from HICStub
virtual InlineCacheState GetICState ()
 
- Public Member Functions inherited from HydrogenCodeStub
 HydrogenCodeStub (InitializationState state=INITIALIZED)
 
CodeStubInterfaceDescriptorGetInterfaceDescriptor (Isolate *isolate)
 
bool IsUninitialized ()
 
Handle< CodeGenerateLightweightMissCode (Isolate *isolate)
 
template<class StateType >
void TraceTransition (StateType from, StateType to)
 

Static Public Member Functions

static Handle< HeapObjectglobal_placeholder (Isolate *isolate)
 
- Static Public Member Functions inherited from HydrogenCodeStub
template<class SubClass >
static Handle< CodeGetUninitialized (Isolate *isolate)
 

Additional Inherited Members

- Public Types inherited from HydrogenCodeStub
enum  InitializationState { UNINITIALIZED, INITIALIZED }
 
- Protected Member Functions inherited from HandlerStub
 HandlerStub ()
 
virtual int NotMissMinorKey ()
 
- Protected Attributes inherited from HandlerStub
int bit_field_
 

Detailed Description

Definition at line 994 of file code-stubs.h.

Constructor & Destructor Documentation

StoreGlobalStub ( bool  is_constant,
bool  check_global 
)
inlineexplicit

Definition at line 996 of file code-stubs.h.

References HandlerStub::bit_field_.

Member Function Documentation

bool check_global ( ) const
inline
Handle< Code > GenerateCode ( Isolate isolate)
virtual

Implements HydrogenCodeStub.

Definition at line 1103 of file code-stubs-hydrogen.cc.

static Handle<HeapObject> global_placeholder ( Isolate isolate)
inlinestatic
virtual void InitializeInterfaceDescriptor ( Isolate isolate,
CodeStubInterfaceDescriptor descriptor 
)
virtual

Implements HydrogenCodeStub.

bool is_constant ( ) const
inline
virtual Code::Kind kind ( ) const
inlinevirtual

Implements HICStub.

Definition at line 1021 of file code-stubs.h.

Representation representation ( )
inline

Definition at line 1039 of file code-stubs.h.

References HandlerStub::bit_field_, and Representation::FromKind().

void set_is_constant ( bool  value)
inline

Definition at line 1035 of file code-stubs.h.

References HandlerStub::bit_field_.

void set_representation ( Representation  r)
inline

Definition at line 1042 of file code-stubs.h.

References HandlerStub::bit_field_, and Representation::kind().


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