summaryrefslogtreecommitdiff
path: root/deps/v8/src/handles.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-04 12:18:09 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-08-04 12:18:09 -0700
commiteeece4f5eab2d192635e19c64ae2d429f96c2284 (patch)
tree8ee91025e2e43769f1bfc01a101f95ba372830dd /deps/v8/src/handles.h
parentb8c8e9c113e4611560948420e1ad67f1ee13d975 (diff)
downloadnode-new-eeece4f5eab2d192635e19c64ae2d429f96c2284.tar.gz
Upgrade V8 to 3.5.3
Diffstat (limited to 'deps/v8/src/handles.h')
-rw-r--r--deps/v8/src/handles.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/deps/v8/src/handles.h b/deps/v8/src/handles.h
index 13c6dd67f7..9bb3b1f1d5 100644
--- a/deps/v8/src/handles.h
+++ b/deps/v8/src/handles.h
@@ -264,9 +264,13 @@ Handle<Object> GetPrototype(Handle<Object> obj);
Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value);
// Return the object's hidden properties object. If the object has no hidden
-// properties and create_if_needed is true, then a new hidden property object
-// will be allocated. Otherwise the Heap::undefined_value is returned.
-Handle<Object> GetHiddenProperties(Handle<JSObject> obj, bool create_if_needed);
+// properties and HiddenPropertiesFlag::ALLOW_CREATION is passed, then a new
+// hidden property object will be allocated. Otherwise Heap::undefined_value
+// is returned.
+Handle<Object> GetHiddenProperties(Handle<JSObject> obj,
+ JSObject::HiddenPropertiesFlag flag);
+
+int GetIdentityHash(Handle<JSObject> obj);
Handle<Object> DeleteElement(Handle<JSObject> obj, uint32_t index);
Handle<Object> DeleteProperty(Handle<JSObject> obj, Handle<String> prop);
@@ -343,6 +347,10 @@ Handle<Object> SetPrototype(Handle<JSFunction> function,
Handle<Object> PreventExtensions(Handle<JSObject> object);
+Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table,
+ Handle<JSObject> key,
+ Handle<Object> value);
+
// Does lazy compilation of the given function. Returns true on success and
// false if the compilation resulted in a stack overflow.
enum ClearExceptionFlag { KEEP_EXCEPTION, CLEAR_EXCEPTION };