v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <code-stubs.h>
Public Member Functions | |
Types () | |
Types (byte bits) | |
bool | IsEmpty () const |
bool | Contains (Type type) const |
void | Add (Type type) |
byte | ToByte () const |
void | Print (StringStream *stream) const |
void | TraceTransition (Types to) const |
bool | Record (Handle< Object > object) |
bool | NeedsMap () const |
bool | CanBeUndetectable () const |
Definition at line 1049 of file code-stubs.h.
|
inline |
Definition at line 1051 of file code-stubs.h.
Definition at line 1052 of file code-stubs.h.
|
inline |
Definition at line 1056 of file code-stubs.h.
References EnumSet< E, T >::Add().
bool CanBeUndetectable | ( | ) | const |
Definition at line 441 of file code-stubs.cc.
References ToBooleanStub::SPEC_OBJECT, and ToBooleanStub::STRING.
|
inline |
Definition at line 1055 of file code-stubs.h.
References EnumSet< E, T >::Contains().
Referenced by ToBooleanStub::Types::Print().
|
inline |
Definition at line 1054 of file code-stubs.h.
References EnumSet< E, T >::IsEmpty().
Referenced by ToBooleanStub::Types::Print().
bool NeedsMap | ( | ) | const |
Definition at line 434 of file code-stubs.cc.
References ToBooleanStub::HEAP_NUMBER, ToBooleanStub::SPEC_OBJECT, and ToBooleanStub::STRING.
void Print | ( | StringStream * | stream | ) | const |
Definition at line 374 of file code-stubs.cc.
References StringStream::Add(), ToBooleanStub::BOOLEAN, ToBooleanStub::Types::Contains(), ToBooleanStub::HEAP_NUMBER, ToBooleanStub::Types::IsEmpty(), ToBooleanStub::NULL_TYPE, ToBooleanStub::SMI, ToBooleanStub::SPEC_OBJECT, ToBooleanStub::STRING, and ToBooleanStub::UNDEFINED.
Referenced by ToBooleanStub::PrintName(), and ToBooleanStub::Types::TraceTransition().
Definition at line 401 of file code-stubs.cc.
References ASSERT, ToBooleanStub::BOOLEAN, Smi::cast(), HeapNumber::cast(), String::cast(), ToBooleanStub::HEAP_NUMBER, isnan(), String::length(), ToBooleanStub::NULL_TYPE, ToBooleanStub::SMI, ToBooleanStub::SPEC_OBJECT, ToBooleanStub::STRING, ToBooleanStub::UNDEFINED, UNREACHABLE, Smi::value(), and HeapNumber::value().
|
inline |
Definition at line 1057 of file code-stubs.h.
References EnumSet< E, T >::ToIntegral().
void TraceTransition | ( | Types | to | ) | const |
Definition at line 386 of file code-stubs.cc.
References StringStream::Add(), StringStream::OutputToStdOut(), Print(), and ToBooleanStub::Types::Print().