diff options
Diffstat (limited to 'deps/v8/src/handles.h')
-rw-r--r-- | deps/v8/src/handles.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/deps/v8/src/handles.h b/deps/v8/src/handles.h index c3e4dca1a6..cfdecac190 100644 --- a/deps/v8/src/handles.h +++ b/deps/v8/src/handles.h @@ -177,7 +177,7 @@ class HandleScope { // Extend the handle scope making room for more handles. static internal::Object** Extend(Isolate* isolate); -#ifdef ENABLE_EXTRA_CHECKS +#ifdef ENABLE_HANDLE_ZAPPING // Zaps the handles in the half-open interval [start, end). static void ZapRange(Object** start, Object** end); #endif @@ -255,10 +255,6 @@ Handle<Object> GetProperty(Isolate* isolate, Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate, uint32_t index); -Handle<JSObject> Copy(Handle<JSObject> obj); - -Handle<JSObject> DeepCopy(Handle<JSObject> obj); - Handle<FixedArray> AddKeysFromJSArray(Handle<FixedArray>, Handle<JSArray> array); @@ -303,19 +299,6 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, Handle<FixedArray> UnionOfKeys(Handle<FixedArray> first, Handle<FixedArray> second); -Handle<String> SubString(Handle<String> str, - int start, - int end, - PretenureFlag pretenure = NOT_TENURED); - -// Sets the expected number of properties for the function's instances. -void SetExpectedNofProperties(Handle<JSFunction> func, int nof); - -// Sets the expected number of properties based on estimate from compiler. -void SetExpectedNofPropertiesFromEstimate(Handle<SharedFunctionInfo> shared, - int estimate); - - Handle<JSGlobalProxy> ReinitializeJSGlobalProxy( Handle<JSFunction> constructor, Handle<JSGlobalProxy> global); @@ -330,6 +313,9 @@ Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table, Handle<Object> key, Handle<Object> value); +void AddWeakObjectToCodeDependency(Heap* heap, + Handle<Object> object, + Handle<Code> code); // Seal off the current HandleScope so that new handles can only be created // if a new HandleScope is entered. |