Go to the source code of this file.
|
#define | RETURN_FAILURE_IF_SCHEDULED_EXCEPTION(isolate) |
|
#define | RETURN_VALUE_IF_SCHEDULED_EXCEPTION(isolate, value) |
|
#define | RETURN_EXCEPTION_IF_SCHEDULED_EXCEPTION(isolate, T) RETURN_VALUE_IF_SCHEDULED_EXCEPTION(isolate, MaybeHandle<T>()) |
|
#define | ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, dst, call, value) |
|
#define | ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, dst, call) |
|
#define | ASSIGN_RETURN_ON_EXCEPTION(isolate, dst, call, T) ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, dst, call, MaybeHandle<T>()) |
|
#define | THROW_NEW_ERROR(isolate, call, T) |
|
#define | THROW_NEW_ERROR_RETURN_FAILURE(isolate, call) |
|
#define | RETURN_ON_EXCEPTION_VALUE(isolate, call, value) |
|
#define | RETURN_FAILURE_ON_EXCEPTION(isolate, call) RETURN_ON_EXCEPTION_VALUE(isolate, call, isolate->heap()->exception()) |
|
#define | RETURN_ON_EXCEPTION(isolate, call, T) RETURN_ON_EXCEPTION_VALUE(isolate, call, MaybeHandle<T>()) |
|
#define | FOR_EACH_ISOLATE_ADDRESS_NAME(C) |
|
#define | FIELD_ACCESSOR(type, name) |
|
#define | ISOLATE_INIT_SIMULATOR_LIST(V) |
|
#define | ISOLATE_INIT_DEBUG_ARRAY_LIST(V) |
|
#define | ISOLATE_INIT_ARRAY_LIST(V) |
|
#define | ISOLATE_INIT_LIST(V) |
|
#define | THREAD_LOCAL_TOP_ACCESSOR(type, name) |
|
#define | DECLARE_ENUM(CamelName, hacker_name) k##CamelName##Address, |
|
#define | GLOBAL_ACCESSOR(type, name, initialvalue) |
|
#define | GLOBAL_ARRAY_ACCESSOR(type, name, length) |
|
#define | NATIVE_CONTEXT_FIELD_ACCESSOR(index, type, name) |
|
#define | GLOBAL_BACKING_STORE(type, name, initialvalue) type name##_; |
|
#define | GLOBAL_ARRAY_BACKING_STORE(type, name, length) type name##_[length]; |
|
◆ ASSIGN_RETURN_FAILURE_ON_EXCEPTION
#define ASSIGN_RETURN_FAILURE_ON_EXCEPTION |
( |
|
isolate, |
|
|
|
dst, |
|
|
|
call |
|
) |
| |
Value:
isolate, dst, call, isolate->heap()->exception())
#define ASSIGN_RETURN_ON_EXCEPTION_VALUE(isolate, dst, call, value)
Definition at line 131 of file isolate.h.
◆ ASSIGN_RETURN_ON_EXCEPTION
◆ ASSIGN_RETURN_ON_EXCEPTION_VALUE
#define ASSIGN_RETURN_ON_EXCEPTION_VALUE |
( |
|
isolate, |
|
|
|
dst, |
|
|
|
call, |
|
|
|
value |
|
) |
| |
Value: do { \
if (!(call).ToHandle(&dst)) { \
DCHECK((isolate)->has_pending_exception()); \
return value; \
} \
} while (false)
Definition at line 123 of file isolate.h.
◆ DECLARE_ENUM
#define DECLARE_ENUM |
( |
|
CamelName, |
|
|
|
hacker_name |
|
) |
| k##CamelName##Address, |
◆ FIELD_ACCESSOR
#define FIELD_ACCESSOR |
( |
|
type, |
|
|
|
name |
|
) |
| |
Value: inline void set_##
name(type v) {
name##
_ = v; } \
enable harmony numeric enable harmony object literal extensions Optimize object Array DOM strings and string trace pretenuring decisions of HAllocate instructions Enables optimizations which favor memory size over execution speed maximum source size in bytes considered for a single inlining maximum cumulative number of AST nodes considered for inlining trace the tracking of allocation sites deoptimize every n garbage collections perform array bounds checks elimination analyze liveness of environment slots and zap dead values flushes the cache of optimized code for closures on every GC allow uint32 values on optimize frames if they are used only in safe operations track concurrent recompilation artificial compilation delay in ms do not emit check maps for constant values that have a leaf deoptimize the optimized code if the layout of the maps changes enable context specialization in TurboFan execution budget before interrupt is triggered max percentage of megamorphic generic ICs to allow optimization enable use of SAHF instruction if enable use of VFP3 instructions if available enable use of NEON instructions if enable use of SDIV and UDIV instructions if enable use of MLS instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of d16 d31 registers on ARM this requires VFP3 force all emitted branches to be in long enable alignment of csp to bytes on platforms which prefer the register to always be expose gc extension under the specified name show built in functions in stack traces use random jit cookie to mask large constants minimum length for automatic enable preparsing CPU profiler sampling interval in microseconds trace out of bounds accesses to external arrays default size of stack region v8 is allowed to maximum length of function source code printed in a stack trace min size of a semi the new space consists of two semi spaces print one trace line following each garbage collection do not print trace line after scavenger collection print cumulative GC statistics in name
Definition at line 225 of file isolate.h.
◆ FOR_EACH_ISOLATE_ADDRESS_NAME
#define FOR_EACH_ISOLATE_ADDRESS_NAME |
( |
|
C | ) |
|
Value: C(Handler, handler) \
C(CEntryFP, c_entry_fp) \
C(Context, context) \
C(PendingException, pending_exception) \
C(ExternalCaughtException, external_caught_exception) \
C(JSEntrySP, js_entry_sp)
Definition at line 169 of file isolate.h.
◆ GLOBAL_ACCESSOR
#define GLOBAL_ACCESSOR |
( |
|
type, |
|
|
|
name, |
|
|
|
initialvalue |
|
) |
| |
Value: inline type
name()
const { \
} \
inline
void set_##
name(type value) { \
}
#define OFFSET_OF(type, field)
Definition at line 826 of file isolate.h.
◆ GLOBAL_ARRAY_ACCESSOR
#define GLOBAL_ARRAY_ACCESSOR |
( |
|
type, |
|
|
|
name, |
|
|
|
length |
|
) |
| |
◆ GLOBAL_ARRAY_BACKING_STORE
#define GLOBAL_ARRAY_BACKING_STORE |
( |
|
type, |
|
|
|
name, |
|
|
|
length |
|
) |
| type name##_[length]; |
◆ GLOBAL_BACKING_STORE
#define GLOBAL_BACKING_STORE |
( |
|
type, |
|
|
|
name, |
|
|
|
initialvalue |
|
) |
| type name##_; |
◆ ISOLATE_INIT_ARRAY_LIST
#define ISOLATE_INIT_ARRAY_LIST |
( |
|
V | ) |
|
Value: \
V(
int32_t, jsregexp_static_offsets_vector, kJSRegexpStaticOffsetsVectorSize) \
V(int, bad_char_shift_table, kUC16AlphabetSize) \
V(int, good_suffix_shift_table, (kBMMaxShift + 1)) \
V(int, suffix_table, (kBMMaxShift + 1)) \
ISOLATE_INIT_DEBUG_ARRAY_LIST(
V)
Definition at line 345 of file isolate.h.
◆ ISOLATE_INIT_DEBUG_ARRAY_LIST
#define ISOLATE_INIT_DEBUG_ARRAY_LIST |
( |
|
V | ) |
|
◆ ISOLATE_INIT_LIST
#define ISOLATE_INIT_LIST |
( |
|
V | ) |
|
◆ ISOLATE_INIT_SIMULATOR_LIST
#define ISOLATE_INIT_SIMULATOR_LIST |
( |
|
V | ) |
|
◆ NATIVE_CONTEXT_FIELD_ACCESSOR
#define NATIVE_CONTEXT_FIELD_ACCESSOR |
( |
|
index, |
|
|
|
type, |
|
|
|
name |
|
) |
| |
Value:
return Handle<type>(native_context()->
name(),
this); \
} \
bool is_##
name(type* value) { \
return native_context()->is_##
name(value); \
}
Definition at line 846 of file isolate.h.
◆ RETURN_EXCEPTION_IF_SCHEDULED_EXCEPTION
◆ RETURN_FAILURE_IF_SCHEDULED_EXCEPTION
#define RETURN_FAILURE_IF_SCHEDULED_EXCEPTION |
( |
|
isolate | ) |
|
Value: do { \
Isolate* __isolate__ = (isolate); \
if (__isolate__->has_scheduled_exception()) { \
return __isolate__->PromoteScheduledException(); \
} \
} while (false)
Definition at line 101 of file isolate.h.
◆ RETURN_FAILURE_ON_EXCEPTION
◆ RETURN_ON_EXCEPTION
◆ RETURN_ON_EXCEPTION_VALUE
#define RETURN_ON_EXCEPTION_VALUE |
( |
|
isolate, |
|
|
|
call, |
|
|
|
value |
|
) |
| |
Value: do { \
if ((call).is_null()) { \
DCHECK((isolate)->has_pending_exception()); \
return value; \
} \
} while (false)
Definition at line 154 of file isolate.h.
◆ RETURN_VALUE_IF_SCHEDULED_EXCEPTION
#define RETURN_VALUE_IF_SCHEDULED_EXCEPTION |
( |
|
isolate, |
|
|
|
value |
|
) |
| |
Value: do { \
Isolate* __isolate__ = (isolate); \
if (__isolate__->has_scheduled_exception()) { \
__isolate__->PromoteScheduledException(); \
return value; \
} \
} while (false)
Definition at line 111 of file isolate.h.
◆ THREAD_LOCAL_TOP_ACCESSOR
#define THREAD_LOCAL_TOP_ACCESSOR |
( |
|
type, |
|
|
|
name |
|
) |
| |
Value: inline void set_##
name(type v) { thread_local_top_.name##
_ = v; } \
inline type
name()
const {
return thread_local_top_.name##
_; }
Definition at line 390 of file isolate.h.
◆ THROW_NEW_ERROR
#define THROW_NEW_ERROR |
( |
|
isolate, |
|
|
|
call, |
|
|
|
T |
|
) |
| |
Value: do { \
Handle<Object> __error__; \
ASSIGN_RETURN_ON_EXCEPTION(isolate, __error__, isolate->factory()->call, \
return isolate->Throw<
T>(__error__); \
} while (false)
#define T(name, string, precedence)
Definition at line 138 of file isolate.h.
◆ THROW_NEW_ERROR_RETURN_FAILURE
#define THROW_NEW_ERROR_RETURN_FAILURE |
( |
|
isolate, |
|
|
|
call |
|
) |
| |
Value: do { \
Handle<Object> __error__; \
ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, __error__, \
isolate->factory()->call); \
return isolate->Throw(*__error__); \
} while (false)
Definition at line 146 of file isolate.h.