32 this->
location_ =
reinterpret_cast<T**
>(handle.location());
105 INLINE(
T* operator->()
const) {
return operator*(); }
117 T::cast(*
reinterpret_cast<T**
>(that.
location_));
131 enum DereferenceCheckMode { INCLUDE_DEFERRED_CHECK, NO_DEFERRED_CHECK };
133 bool IsDereferenceAllowed(DereferenceCheckMode
mode)
const;
165 class DeferredHandles;
166 class HandleScopeImplementer;
191 template <
typename T>
205 template <
typename T>
214 void*
operator new(
size_t size);
215 void operator delete(
void* size_t);
229 #ifdef ENABLE_HANDLE_ZAPPING
259 bool handles_detached_;
275 explicit inline SealHandleScope(
Isolate* isolate);
276 inline ~SealHandleScope();
A HandleScope which first allocates a handle in the current scope which will be later filled with the...
A stack-allocated class that governs a number of local handles.
SealHandleScope(Isolate *isolate)
DeferredHandleScope(Isolate *isolate)
HandleScopeImplementer * impl_
DeferredHandles * Detach()
static int NumberOfHandles(Isolate *isolate)
HandleScope(Isolate *isolate)
Handle< T > CloseAndEscape(Handle< T > handle_value)
static Address current_limit_address(Isolate *isolate)
static void DeleteExtensions(Isolate *isolate)
static Address current_next_address(Isolate *isolate)
void operator=(const HandleScope &)
static void CloseScope(Isolate *isolate, Object **prev_next, Object **prev_limit)
static T ** CreateHandle(Isolate *isolate, T *value)
HandleScope(const HandleScope &)
static Address current_level_address(Isolate *isolate)
static internal::Object ** Extend(Isolate *isolate)
INLINE(T **location() const)
static Handle< T > cast(Handle< S > that)
INLINE(Handle(T *obj, Isolate *isolate))
INLINE(explicit Handle(T **location))
Handle< T > EscapeFrom(v8::EscapableHandleScope *scope)
INLINE(bool is_identical_to(const Handle< T > other) const)
Handle(Handle< S > handle)
INLINE(T *operator*() const)
INLINE(T *operator->() const)
INLINE(explicit Handle(T *obj))
static Handle< T > null()
INLINE(Handle< T > ToHandleChecked()) const
MaybeHandle(MaybeHandle< S > maybe_handle)
INLINE(void Assert() const)
INLINE(void Check() const)
INLINE(bool ToHandle(Handle< S > *out))
MaybeHandle(Handle< S > handle)
enable harmony numeric enable harmony object literal extensions Optimize object size
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 mode(MIPS only)") DEFINE_BOOL(enable_always_align_csp
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 NULL
#define DCHECK(condition)
Handle< T > handle(T *t, Isolate *isolate)
bool operator<(const Handle< Map > &lhs, const Handle< Map > &rhs)
Debugger support for the V8 JavaScript engine.
internal::Object ** limit
#define T(name, string, precedence)