Index: test/cctest/test-types.cc |
diff --git a/test/cctest/test-types.cc b/test/cctest/test-types.cc |
index 2e08bde0a0bf5d9dd0db261af8b70222d65b79c7..1a11e3dcfb64a821023aa40c8f74aeaa8e5fcbe6 100644 |
--- a/test/cctest/test-types.cc |
+++ b/test/cctest/test-types.cc |
@@ -195,7 +195,7 @@ struct Tests { |
Handle<i::Object> value = *vt; |
Type* type = T.NewConstant(value); |
if (type->IsHeapConstant()) { |
- CHECK(*value == *type->AsHeapConstant()->Value()); |
+ CHECK(value.address() == type->AsHeapConstant()->Value().address()); |
} else if (type->IsOtherNumberConstant()) { |
CHECK(value->IsHeapNumber()); |
CHECK(value->Number() == type->AsOtherNumberConstant()->Value()); |