61 location_ =
reinterpret_cast<T**
>(handle.
location());
64 INLINE(
T*
operator ->()
const) {
return operator*(); }
68 return operator*() == *other;
77 reinterpret_cast<Address>(*location_) !=
kZapValue);
98 class DeferredHandles;
99 class HandleScopeImplementer;
125 template <
typename T>
139 template <
typename T>
148 void*
operator new(
size_t size);
149 void operator delete(
void* size_t);
151 inline void CloseScope();
189 bool handles_detached_;
258 bool with_imaginary_last_new_line);
327 inline NoHandleAllocation();
328 inline ~NoHandleAllocation();
337 #endif // V8_HANDLES_H_
int Utf8Length(Handle< String > str)
void FlattenString(Handle< String > string)
static int NumberOfHandles()
static Address current_level_address()
Handle(Handle< S > handle)
Handle< FixedArray > AddKeysFromJSArray(Handle< FixedArray > content, Handle< JSArray > array)
v8::Handle< v8::Array > GetKeysForIndexedInterceptor(Handle< JSReceiver > receiver, Handle< JSObject > object)
Handle< FixedArray > CalculateLineEnds(Handle< String > src, bool with_last_line)
static Handle< T > cast(Handle< S > that)
bool is_identical_to(const Handle< T > other) const
INLINE(explicit Handle(T **location))
Handle< Object > SetAccessor(Handle< JSObject > obj, Handle< AccessorInfo > info)
void SetPrototypeProperty(Handle< JSFunction > func, Handle< JSObject > value)
static Address current_next_address()
Handle< FixedArray > UnionOfKeys(Handle< FixedArray > first, Handle< FixedArray > second)
void InitScriptLineEnds(Handle< Script > script)
#define ASSERT(condition)
Handle< JSArray > GetKeysFor(Handle< JSReceiver > object, bool *threw)
Handle< Object > GetPropertyWithInterceptor(Handle< JSObject > receiver, Handle< JSObject > holder, Handle< String > name, PropertyAttributes *attributes)
int GetScriptColumnNumber(Handle< Script > script, int code_pos)
Handle< Object > GetProperty(Handle< JSReceiver > obj, const char *name)
Handle< String > FlattenGetString(Handle< String > string)
Handle< Object > ForceDeleteProperty(Handle< JSObject > object, Handle< Object > key)
static Address current_limit_address()
Handle< String > SubString(Handle< String > str, int start, int end, PretenureFlag pretenure)
DeferredHandleScope(Isolate *isolate)
Handle< FixedArray > ReduceFixedArrayTo(Handle< FixedArray > array, int length)
DeferredHandles * Detach()
Handle< Object > LookupSingleCharacterStringFromCode(uint32_t index)
void SetExpectedNofProperties(Handle< JSFunction > func, int nof)
Handle< ObjectHashSet > ObjectHashSetAdd(Handle< ObjectHashSet > table, Handle< Object > key)
Handle< Object > SetProperty(Handle< Object > object, Handle< Object > key, Handle< Object > value, PropertyAttributes attributes, StrictModeFlag strict_mode)
INLINE(T *operator->() const)
Handle< JSValue > GetScriptWrapper(Handle< Script > script)
int GetScriptLineNumberSafe(Handle< Script > script, int code_pos)
Handle< FixedArray > GetKeysInFixedArrayFor(Handle< JSReceiver > object, KeyCollectionType type, bool *threw)
Handle< ObjectHashTable > PutIntoObjectHashTable(Handle< ObjectHashTable > table, Handle< Object > key, Handle< Object > value)
#define T(name, string, precedence)
int GetScriptLineNumber(Handle< Script > script, int code_pos)
v8::Handle< v8::Array > GetKeysForNamedInterceptor(Handle< JSReceiver > receiver, Handle< JSObject > object)
Handle< T > EscapeFrom(v8::HandleScope *scope)
Handle< JSGlobalProxy > ReinitializeJSGlobalProxy(Handle< JSFunction > constructor, Handle< JSGlobalProxy > global)
static Handle< T > null()
activate correct semantics for inheriting readonliness enable harmony semantics for typeof enable harmony enable harmony proxies enable all harmony harmony_scoping harmony_proxies harmony_scoping tracks arrays with only smi values automatically unbox arrays of doubles use crankshaft use hydrogen range analysis use hydrogen global value numbering use function inlining maximum number of AST nodes considered for a single inlining loop invariant code motion print statistics for hydrogen trace generated IR for specified phases trace register allocator trace range analysis trace representation types environment for every instruction put a break point before deoptimizing polymorphic inlining perform array bounds checks elimination use dead code elimination trace on stack replacement optimize closures cache optimized code for closures functions with arguments object loop weight for representation inference allow uint32 values on optimize frames if they are used only in safe operations track parallel recompilation enable all profiler experiments number of stack frames inspected by the profiler call recompile stub directly when self optimizing trigger profiler ticks based on counting instead of timing weight back edges by jump distance for interrupt triggering percentage of ICs that must have type info to allow optimization watch_ic_patching retry_self_opt interrupt_at_exit extra verbose compilation tracing generate extra emit comments in code disassembly enable use of SSE3 instructions if available enable use of CMOV instruction if available enable use of SAHF instruction if enable use of VFP3 instructions if available this implies enabling ARMv7 and VFP2 enable use of VFP2 instructions if available enable use of SDIV and UDIV instructions if enable loading bit constant by means of movw movt instruction enable unaligned accesses for enable use of MIPS FPU instructions if NULL
Handle< Object > ForceSetProperty(Handle< JSObject > object, Handle< Object > key, Handle< Object > value, PropertyAttributes attributes)
Handle< ObjectHashSet > ObjectHashSetRemove(Handle< ObjectHashSet > table, Handle< Object > key)
void SetExpectedNofPropertiesFromEstimate(Handle< SharedFunctionInfo > shared, int estimate)
Handle< Object > SetPrototype(Handle< JSFunction > function, Handle< Object > prototype)
Handle< FixedArray > GetEnumPropertyKeys(Handle< JSObject > object, bool cache_result)
Handle< T > CloseAndEscape(Handle< T > handle_value)
static void DeleteExtensions(Isolate *isolate)
static T ** CreateHandle(T *value, Isolate *isolate)
Handle< JSObject > Copy(Handle< JSObject > obj)