v8  3.11.10(node0.8.26)
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, HEAP_NUMBER, NUMBER_OF_TYPES
}
 

Public Member Functions

 STATIC_ASSERT (NUMBER_OF_TYPES<=8)
 
 ToBooleanStub (Register tos, Types types=Types())
 
void Generate (MacroAssembler *masm)
 
virtual int GetCodeKind ()
 
virtual void PrintName (StringStream *stream)
 
virtual bool SometimesSetsUpAFrame ()
 

Static Public Member Functions

static Types no_types ()
 
static Types all_types ()
 

Detailed Description

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

Member Enumeration Documentation

enum Type
Enumerator
UNDEFINED 
BOOLEAN 
NULL_TYPE 
SMI 
SPEC_OBJECT 
STRING 
HEAP_NUMBER 
NUMBER_OF_TYPES 

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

Constructor & Destructor Documentation

ToBooleanStub ( Register  tos,
Types  types = Types() 
)
inlineexplicit

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

Member Function Documentation

static Types all_types ( )
inlinestatic

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

References ToBooleanStub::NUMBER_OF_TYPES.

void Generate ( MacroAssembler masm)
virtual int GetCodeKind ( )
inlinevirtual

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

References Code::TO_BOOLEAN_IC.

static Types no_types ( )
inlinestatic

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

void PrintName ( StringStream stream)
virtual

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

References StringStream::Add(), and ToBooleanStub::Types::Print().

virtual bool SometimesSetsUpAFrame ( )
inlinevirtual

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

STATIC_ASSERT ( NUMBER_OF_TYPES<=  8)

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