v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <objects.h>
Public Types | |
enum | Type { RETRY_AFTER_GC = 0, EXCEPTION = 1, INTERNAL_ERROR = 2, OUT_OF_MEMORY_EXCEPTION = 3 } |
Public Member Functions | |
Type | type () const |
AllocationSpace | allocation_space () const |
bool | IsInternalError () const |
void | FailurePrint (FILE *out=stdout) |
void | FailurePrint (StringStream *accumulator) |
Static Public Member Functions | |
static Failure * | RetryAfterGC (AllocationSpace space) |
static Failure * | RetryAfterGC () |
static Failure * | Exception () |
static Failure * | InternalError () |
static Failure * | cast (MaybeObject *object) |
enum Type |
|
inline |
Definition at line 1232 of file objects-inl.h.
References ASSERT_EQ, v8::internal::kFailureTypeTagSize, v8::internal::kSpaceTagMask, Failure::RETRY_AFTER_GC, and Failure::type().
Referenced by Runtime::PerformGC().
|
inlinestatic |
Definition at line 667 of file objects-inl.h.
References ASSERT, HAS_FAILURE_TAG, and obj.
Referenced by Runtime::PerformGC(), v8::internal::RUNTIME_FUNCTION(), and Object::ShortPrint().
Definition at line 1244 of file objects-inl.h.
References Failure::EXCEPTION.
Referenced by Runtime::DeleteObjectProperty(), PagedSpace::FindObject(), LargeObjectSpace::FindObject(), Object::GetPropertyWithDefinedGetter(), JSProxy::GetPropertyWithHandler(), Isolate::ReThrow(), v8::internal::RUNTIME_FUNCTION(), Isolate::StackOverflow(), Isolate::TerminateExecution(), TEST(), Isolate::Throw(), Object::ToSmi(), and BinaryOpIC::Transition().
void FailurePrint | ( | FILE * | out = stdout | ) |
Definition at line 1157 of file objects.cc.
References v8::internal::PrintF().
Referenced by Object::ShortPrint().
void FailurePrint | ( | StringStream * | accumulator | ) |
Definition at line 1152 of file objects.cc.
References StringStream::Add().
|
inlinestatic |
Definition at line 1239 of file objects-inl.h.
References Failure::INTERNAL_ERROR.
Referenced by Heap::AllocateStruct(), and Object::ToObject().
|
inline |
Definition at line 1227 of file objects-inl.h.
References Failure::INTERNAL_ERROR, and Failure::type().
Referenced by v8::internal::RUNTIME_FUNCTION().
|
inlinestatic |
Definition at line 1260 of file objects-inl.h.
References ASSERT, v8::internal::kSpaceTagMask, and Failure::RETRY_AFTER_GC.
|
inlinestatic |
Definition at line 1255 of file objects-inl.h.
References v8::internal::NEW_SPACE.
Referenced by Heap::AllocateRaw(), PagedSpace::AllocateRaw(), LargeObjectSpace::AllocateRaw(), and TEST().
|
inline |
Definition at line 1222 of file objects-inl.h.
References v8::internal::kFailureTypeTagMask.
Referenced by Failure::allocation_space(), and Failure::IsInternalError().