Index: test/cctest/test-dictionary.cc |
diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc |
index 8e218b5dd13f3fd18146ce090f79c53bca576d85..a40f282960c979e4b298d0106f7a36cb95ed78e3 100644 |
--- a/test/cctest/test-dictionary.cc |
+++ b/test/cctest/test-dictionary.cc |
@@ -140,7 +140,7 @@ TEST(HashTableRehash) { |
for (int i = 0; i < capacity - 1; i++) { |
t->insert(i, i * i, i); |
} |
- t->Rehash(Smi::FromInt(0)); |
+ t->Rehash(handle(Smi::FromInt(0), isolate)); |
for (int i = 0; i < capacity - 1; i++) { |
CHECK_EQ(i, t->lookup(i * i)); |
} |
@@ -153,7 +153,7 @@ TEST(HashTableRehash) { |
for (int i = 0; i < capacity / 2; i++) { |
t->insert(i, i * i, i); |
} |
- t->Rehash(Smi::FromInt(0)); |
+ t->Rehash(handle(Smi::FromInt(0), isolate)); |
for (int i = 0; i < capacity / 2; i++) { |
CHECK_EQ(i, t->lookup(i * i)); |
} |