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

#include <code-stubs.h>

Inheritance diagram for ToBooleanStub:
Collaboration diagram for ToBooleanStub:

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< CodeGenerateCode (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)
 
CodeStubInterfaceDescriptorGetInterfaceDescriptor (Isolate *isolate)
 
bool IsUninitialized ()
 
Handle< CodeGenerateLightweightMissCode (Isolate *isolate)
 
template<class StateType >
void TraceTransition (StateType from, StateType to)
 

Static Public Member Functions

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

Detailed Description

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

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

ToBooleanStub ( Types  types = Types())
inlineexplicit

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

Referenced by ToBooleanStub::GetUninitialized().

ToBooleanStub ( ExtraICState  state)
inlineexplicit

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

Member Function Documentation

Handle< Code > GenerateCode ( Isolate isolate)
virtual

Implements HydrogenCodeStub.

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

virtual Code::Kind GetCodeKind ( ) const
inlinevirtual

Reimplemented from HydrogenCodeStub.

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

virtual ExtraICState GetExtraICState ( )
inlinevirtual

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

References EnumSet< E, T >::ToIntegral().

virtual InlineCacheState GetICState ( )
inlinevirtual
Types GetTypes ( )
inline
static Handle<Code> GetUninitialized ( Isolate isolate)
inlinestatic
virtual void InitializeInterfaceDescriptor ( Isolate isolate,
CodeStubInterfaceDescriptor descriptor 
)
virtual
static void InstallDescriptors ( Isolate isolate)
inlinestatic
void PrintState ( StringStream stream)
virtual

Definition at line 626 of file code-stubs.cc.

References ToBooleanStub::Types::Print().

virtual bool SometimesSetsUpAFrame ( )
inlinevirtual

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

STATIC_ASSERT ( NUMBER_OF_TYPES<=  8)
bool UpdateStatus ( Handle< Object object)

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