v8
3.11.10(node0.8.26)
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 1044 of file code-stubs.h.
|
inline |
Definition at line 1046 of file code-stubs.h.
Definition at line 1047 of file code-stubs.h.
|
inline |
Definition at line 1051 of file code-stubs.h.
References EnumSet< E, T >::Add().
bool CanBeUndetectable | ( | ) | const |
Definition at line 431 of file code-stubs.cc.
References ToBooleanStub::SPEC_OBJECT, and ToBooleanStub::STRING.
|
inline |
Definition at line 1050 of file code-stubs.h.
References EnumSet< E, T >::Contains().
Referenced by ToBooleanStub::Types::Print().
|
inline |
Definition at line 1049 of file code-stubs.h.
References EnumSet< E, T >::IsEmpty().
Referenced by ToBooleanStub::Types::Print().
bool NeedsMap | ( | ) | const |
Definition at line 424 of file code-stubs.cc.
References ToBooleanStub::HEAP_NUMBER, ToBooleanStub::SPEC_OBJECT, and ToBooleanStub::STRING.
void Print | ( | StringStream * | stream | ) | const |
Definition at line 364 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 391 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 1052 of file code-stubs.h.
References EnumSet< E, T >::ToIntegral().
void TraceTransition | ( | Types | to | ) | const |
Definition at line 376 of file code-stubs.cc.
References StringStream::Add(), StringStream::OutputToStdOut(), Print(), and ToBooleanStub::Types::Print().