Index: src/handles.cc |
diff --git a/src/handles.cc b/src/handles.cc |
index 700a334923a4e739061c0ea95b08575eeee2071d..7a33bd8cfd0aa35c7e5c43a3c64776827c051a0d 100644 |
--- a/src/handles.cc |
+++ b/src/handles.cc |
@@ -880,8 +880,24 @@ Handle<FixedArray> GetEnumPropertyKeys(Handle<JSObject> object, |
} |
+Handle<ObjectHashSet> ObjectHashSetAdd(Handle<ObjectHashSet> table, |
+ Handle<Object> key) { |
+ CALL_HEAP_FUNCTION(table->GetIsolate(), |
+ table->Add(*key), |
+ ObjectHashSet); |
+} |
+ |
+ |
+Handle<ObjectHashSet> ObjectHashSetRemove(Handle<ObjectHashSet> table, |
+ Handle<Object> key) { |
+ CALL_HEAP_FUNCTION(table->GetIsolate(), |
+ table->Remove(*key), |
+ ObjectHashSet); |
+} |
+ |
+ |
Handle<ObjectHashTable> PutIntoObjectHashTable(Handle<ObjectHashTable> table, |
- Handle<JSReceiver> key, |
+ Handle<Object> key, |
Handle<Object> value) { |
CALL_HEAP_FUNCTION(table->GetIsolate(), |
table->Put(*key, *value), |