Index: test/cctest/test-dictionary.cc |
diff --git a/test/cctest/test-dictionary.cc b/test/cctest/test-dictionary.cc |
index 9a1914237fe185f841125051b7feaac12c180416..14e5d69d43714bba76b9e66a6c96026590f60b88 100644 |
--- a/test/cctest/test-dictionary.cc |
+++ b/test/cctest/test-dictionary.cc |
@@ -99,8 +99,8 @@ static void TestHashMap(Handle<HashMap> table) { |
for (int i = 0; i < 100; i++) { |
Handle<JSReceiver> key = factory->NewJSArray(7); |
CHECK_EQ(table->Lookup(key), CcTest::heap()->the_hole_value()); |
- CHECK_EQ(key->GetIdentityHash(), |
- CcTest::heap()->undefined_value()); |
+ Object* identity_hash = key->GetIdentityHash(); |
+ CHECK_EQ(identity_hash, CcTest::heap()->undefined_value()); |
} |
} |