v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <code-stubs.h>
Public Member Functions | |
Types () | |
Types (byte bits) | |
byte | ToByte () const |
void | Print (StringStream *stream) const |
bool | UpdateStatus (Handle< Object > object) |
bool | NeedsMap () const |
bool | CanBeUndetectable () const |
bool | IsGeneric () const |
Public Member Functions inherited from EnumSet< Type, byte > | |
EnumSet (bytebits=0) | |
bool | IsEmpty () const |
bool | Contains (Typeelement) const |
bool | ContainsAnyOf (const EnumSet &set) const |
void | Add (Typeelement) |
void | Add (const EnumSet &set) |
void | Remove (Typeelement) |
void | Remove (const EnumSet &set) |
void | RemoveAll () |
void | Intersect (const EnumSet &set) |
byte | ToIntegral () const |
bool | operator== (const EnumSet &set) |
bool | operator!= (const EnumSet &set) |
EnumSet< Type, byte > | operator| (const EnumSet &set) const |
Static Public Member Functions | |
static Types | Generic () |
Definition at line 2345 of file code-stubs.h.
|
inline |
Definition at line 2347 of file code-stubs.h.
Referenced by ToBooleanStub::Types::Generic().
Definition at line 2348 of file code-stubs.h.
bool CanBeUndetectable | ( | ) | const |
Definition at line 691 of file code-stubs.cc.
References ToBooleanStub::SPEC_OBJECT, and ToBooleanStub::STRING.
|
inlinestatic |
Definition at line 2357 of file code-stubs.h.
References ToBooleanStub::NUMBER_OF_TYPES, and ToBooleanStub::Types::Types().
Referenced by ToBooleanStub::Types::IsGeneric().
|
inline |
Definition at line 2355 of file code-stubs.h.
References ToBooleanStub::Types::Generic(), EnumSet< E, T >::ToIntegral(), and EnumSet< Type, byte >::ToIntegral().
bool NeedsMap | ( | ) | const |
Definition at line 683 of file code-stubs.cc.
References ToBooleanStub::HEAP_NUMBER, ToBooleanStub::SPEC_OBJECT, ToBooleanStub::STRING, and ToBooleanStub::SYMBOL.
void Print | ( | StringStream * | stream | ) | const |
Definition at line 631 of file code-stubs.cc.
References StringStream::Add(), SimpleListPrinter::Add(), ToBooleanStub::BOOLEAN, EnumSet< Type, byte >::Contains(), ToBooleanStub::HEAP_NUMBER, EnumSet< Type, byte >::IsEmpty(), ToBooleanStub::NULL_TYPE, ToBooleanStub::SMI, ToBooleanStub::SPEC_OBJECT, ToBooleanStub::STRING, ToBooleanStub::SYMBOL, and ToBooleanStub::UNDEFINED.
Referenced by ToBooleanStub::PrintState().
|
inline |
Definition at line 2350 of file code-stubs.h.
References EnumSet< Type, byte >::ToIntegral().
Definition at line 647 of file code-stubs.cc.
References ASSERT, ToBooleanStub::BOOLEAN, Smi::cast(), HeapNumber::cast(), String::cast(), ToBooleanStub::HEAP_NUMBER, Value::IsBoolean(), std::isnan(), Value::IsNull(), Value::IsString(), Value::IsSymbol(), Value::IsUndefined(), String::length(), ToBooleanStub::NULL_TYPE, ToBooleanStub::SMI, ToBooleanStub::SPEC_OBJECT, ToBooleanStub::STRING, ToBooleanStub::SYMBOL, ToBooleanStub::UNDEFINED, UNREACHABLE, Smi::value(), and HeapNumber::value().
Referenced by ToBooleanStub::UpdateStatus().