summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/test-dictionary.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/cctest/test-dictionary.cc')
-rw-r--r--deps/v8/test/cctest/test-dictionary.cc14
1 files changed, 1 insertions, 13 deletions
diff --git a/deps/v8/test/cctest/test-dictionary.cc b/deps/v8/test/cctest/test-dictionary.cc
index dc8a8b5bed..68c35f958e 100644
--- a/deps/v8/test/cctest/test-dictionary.cc
+++ b/deps/v8/test/cctest/test-dictionary.cc
@@ -171,12 +171,6 @@ static void TestHashSetCausesGC(Handle<HashSet> table) {
Factory* factory = isolate->factory();
Handle<JSObject> key = factory->NewJSArray(0);
- v8::Handle<v8::Object> key_obj = v8::Utils::ToLocal(key);
-
- // Force allocation of hash table backing store for hidden properties.
- key_obj->SetHiddenValue(v8_str("key 1"), v8_str("val 1"));
- key_obj->SetHiddenValue(v8_str("key 2"), v8_str("val 2"));
- key_obj->SetHiddenValue(v8_str("key 3"), v8_str("val 3"));
// Simulate a full heap so that generating an identity hash code
// in subsequent calls will request GC.
@@ -208,12 +202,6 @@ static void TestHashMapCausesGC(Handle<HashMap> table) {
Factory* factory = isolate->factory();
Handle<JSObject> key = factory->NewJSArray(0);
- v8::Handle<v8::Object> key_obj = v8::Utils::ToLocal(key);
-
- // Force allocation of hash table backing store for hidden properties.
- key_obj->SetHiddenValue(v8_str("key 1"), v8_str("val 1"));
- key_obj->SetHiddenValue(v8_str("key 2"), v8_str("val 2"));
- key_obj->SetHiddenValue(v8_str("key 3"), v8_str("val 3"));
// Simulate a full heap so that generating an identity hash code
// in subsequent calls will request GC.
@@ -239,4 +227,4 @@ TEST(ObjectHashTableCausesGC) {
}
#endif
-}
+} // namespace