#include <objects.h>
v8::Objectを継承しています。
Public 型 | |
enum | Type { RETRY_AFTER_GC = 0, EXCEPTION = 1, INTERNAL_ERROR = 2, OUT_OF_MEMORY_EXCEPTION = 3 } |
Public メソッド | |
Type | type () const |
AllocationSpace | allocation_space () const |
int | requested () const |
bool | IsInternalError () const |
bool | IsOutOfMemoryException () const |
void | FailurePrint () |
void | FailurePrint (StringStream *accumulator) |
Static Public メソッド | |
static Failure * | RetryAfterGC (int requested_bytes, AllocationSpace space) |
static Failure * | RetryAfterGC (int requested_bytes) |
static Failure * | Exception () |
static Failure * | InternalError () |
static Failure * | OutOfMemoryException () |
static Failure * | cast (Object *object) |
Private メソッド | |
int | value () const |
DISALLOW_IMPLICIT_CONSTRUCTORS (Failure) | |
Static Private メソッド | |
static Failure * | Construct (Type type, int value=0) |
AllocationSpace v8::internal::Failure::allocation_space | ( | ) | const [inline] |
objects-inl.h の 600 行で定義されています。
参照先 ASSERT_EQ, v8::internal::kFailureTypeTagSize, v8::internal::kSpaceTagMask, RETRY_AFTER_GC, type(), と value().
v8::internal::Failure::DISALLOW_IMPLICIT_CONSTRUCTORS | ( | Failure | ) | [private] |
Failure * v8::internal::Failure::Exception | ( | ) | [inline, static] |
objects-inl.h の 612 行で定義されています。
参照先 Construct(), と EXCEPTION.
参照元 v8::internal::BUILTIN(), v8::internal::DoCompile(), v8::internal::JSEntryStub::GenerateBody(), v8::internal::CEntryStub::GenerateCore(), v8::internal::Runtime_CompileScript(), v8::internal::Runtime_CompileString(), v8::internal::Runtime_DebugEvaluate(), v8::internal::Runtime_DebugEvaluateGlobal(), v8::internal::Runtime_FunctionGetAssemblerCode(), v8::internal::Runtime_GetArgumentsProperty(), v8::internal::Runtime_LazyCompile(), v8::internal::Runtime_MaterializeRegExpLiteral(), v8::internal::Runtime_SetCode(), v8::internal::Runtime_StoreContextSlot(), v8::internal::Runtime::SetObjectProperty(), v8::internal::KeyedStoreIC::Store(), と v8::internal::StoreIC::Store().
void v8::internal::Failure::FailurePrint | ( | StringStream * | accumulator | ) |
objects.cc の 443 行で定義されています。
void v8::internal::Failure::FailurePrint | ( | ) |
objects.cc の 448 行で定義されています。
参照先 v8::internal::PrintF(), と value().
Failure * v8::internal::Failure::InternalError | ( | ) | [inline, static] |
bool v8::internal::Failure::IsInternalError | ( | ) | const [inline] |
bool v8::internal::Failure::IsOutOfMemoryException | ( | ) | const [inline] |
Failure * v8::internal::Failure::OutOfMemoryException | ( | ) | [inline, static] |
objects-inl.h の 616 行で定義されています。
参照先 Construct(), と OUT_OF_MEMORY_EXCEPTION.
参照元 v8::internal::Top::DoThrow(), v8::internal::CEntryStub::GenerateCore(), v8::internal::CEntryStub::GenerateThrowOutOfMemory(), v8::internal::Invoke(), RetryAfterGC(), v8::internal::Runtime_StringAdd(), v8::internal::Runtime_StringBuilderConcat(), と v8::internal::Runtime_URIEscape().
int v8::internal::Failure::requested | ( | ) | const [inline] |
Failure * v8::internal::Failure::RetryAfterGC | ( | int | requested_bytes | ) | [inline, static] |
Failure * v8::internal::Failure::RetryAfterGC | ( | int | requested_bytes, | |
AllocationSpace | space | |||
) | [static] |
objects.cc の 453 行で定義されています。
参照先 ASSERT, Construct(), v8::internal::Top::context(), v8::internal::Smi::IsValid(), v8::internal::kFailureTypeTagSize, v8::internal::kObjectAlignmentBits, v8::internal::kSpaceTagMask, v8::internal::kSpaceTagSize, v8::internal::Context::mark_out_of_memory(), OutOfMemoryException(), requested(), と RETRY_AFTER_GC.
参照元 v8::internal::PagedSpace::AllocateRaw(), v8::internal::Heap::AllocateRaw(), v8::internal::LargeObjectSpace::AllocateRawInternal(), v8::internal::NewSpace::AllocateRawInternal(), v8::internal::CEntryStub::GenerateBody(), と v8::internal::PagedSpace::MCAllocateRaw().
Failure::Type v8::internal::Failure::type | ( | ) | const [inline] |
objects-inl.h の 576 行で定義されています。
参照先 v8::internal::kFailureTypeTagMask, と value().
参照元 allocation_space(), IsInternalError(), IsOutOfMemoryException(), と requested().
int v8::internal::Failure::value | ( | ) | const [inline, private] |
objects-inl.h の 621 行で定義されています。
参照先 v8::internal::kFailureTagSize.
参照元 allocation_space(), FailurePrint(), requested(), と type().