Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 0dde0d3c980c0cca88995b71cf54c7afb6543f75..92dc78267f1eacb832b96391109f4faa54ecb8e9 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -1552,17 +1552,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SetDelete) { |
} |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_SetClear) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); |
- Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table())); |
- table = OrderedHashSet::Clear(table); |
- holder->set_table(*table); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
RUNTIME_FUNCTION(MaybeObject*, Runtime_SetGetSize) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 1); |
@@ -1572,37 +1561,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_SetGetSize) { |
} |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_SetCreateIterator) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 2); |
- CONVERT_ARG_HANDLE_CHECKED(JSSet, holder, 0); |
- CONVERT_SMI_ARG_CHECKED(kind, 1) |
- ASSERT(kind == JSSetIterator::kKindValues |
- || kind == JSSetIterator::kKindEntries); |
- Handle<OrderedHashSet> table(OrderedHashSet::cast(holder->table())); |
- Handle<JSSetIterator> iterator = JSSetIterator::Create(table, kind); |
- return *iterator; |
-} |
- |
- |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_SetIteratorNext) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSSetIterator, holder, 0); |
- Handle<JSObject> result = JSSetIterator::Next(holder); |
- return *result; |
-} |
- |
- |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_SetIteratorClose) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSSetIterator, holder, 0); |
- holder->Close(); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
RUNTIME_FUNCTION(MaybeObject*, Runtime_MapInitialize) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 1); |
@@ -1649,17 +1607,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_MapDelete) { |
} |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_MapClear) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSMap, holder, 0); |
- Handle<OrderedHashMap> table(OrderedHashMap::cast(holder->table())); |
- table = OrderedHashMap::Clear(table); |
- holder->set_table(*table); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
RUNTIME_FUNCTION(MaybeObject*, Runtime_MapSet) { |
HandleScope scope(isolate); |
ASSERT(args.length() == 3); |
@@ -1682,38 +1629,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_MapGetSize) { |
} |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_MapCreateIterator) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 2); |
- CONVERT_ARG_HANDLE_CHECKED(JSMap, holder, 0); |
- CONVERT_SMI_ARG_CHECKED(kind, 1) |
- ASSERT(kind == JSMapIterator::kKindKeys |
- || kind == JSMapIterator::kKindValues |
- || kind == JSMapIterator::kKindEntries); |
- Handle<OrderedHashMap> table(OrderedHashMap::cast(holder->table())); |
- Handle<JSMapIterator> iterator = JSMapIterator::Create(table, kind); |
- return *iterator; |
-} |
- |
- |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_MapIteratorNext) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSMapIterator, holder, 0); |
- Handle<JSObject> result = JSMapIterator::Next(holder); |
- return *result; |
-} |
- |
- |
-RUNTIME_FUNCTION(MaybeObject*, Runtime_MapIteratorClose) { |
- HandleScope scope(isolate); |
- ASSERT(args.length() == 1); |
- CONVERT_ARG_HANDLE_CHECKED(JSMapIterator, holder, 0); |
- holder->Close(); |
- return isolate->heap()->undefined_value(); |
-} |
- |
- |
static JSWeakCollection* WeakCollectionInitialize(Isolate* isolate, |
Handle<JSWeakCollection> weak_collection) { |
ASSERT(weak_collection->map()->inobject_properties() == 0); |