Index: src/handles.h |
diff --git a/src/handles.h b/src/handles.h |
index 8dcca3eab8ab0523901d2614bd4ec208f84abe9a..9a5d9fbdd71d3564e4e8e71dca2346da19eaae57 100644 |
--- a/src/handles.h |
+++ b/src/handles.h |
@@ -265,11 +265,11 @@ 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 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, CreationFlag flag); |
+// Sets a hidden property on an object. Returns obj on success, undefined |
+// if trying to set the property on a detached proxy. |
+Handle<Object> SetHiddenProperty(Handle<JSObject> obj, |
+ Handle<String> key, |
+ Handle<Object>value); |
Rico
2011/09/27 13:40:40
space before value
|
int GetIdentityHash(Handle<JSReceiver> obj); |