Index: test/cctest/compiler/codegen-tester.cc |
diff --git a/test/cctest/compiler/codegen-tester.cc b/test/cctest/compiler/codegen-tester.cc |
index 833b9aa39f4bc0d5a07dfae0219fb505b5a13234..51970ccbcfe74fddd7a4cdc372a5b04a5232cb58 100644 |
--- a/test/cctest/compiler/codegen-tester.cc |
+++ b/test/cctest/compiler/codegen-tester.cc |
@@ -477,10 +477,10 @@ TEST(RunHeapConstant) { |
TEST(RunHeapNumberConstant) { |
- RawMachineAssemblerTester<Object*> m; |
- Handle<Object> number = m.isolate()->factory()->NewHeapNumber(100.5); |
+ RawMachineAssemblerTester<HeapObject*> m; |
+ Handle<HeapObject> number = m.isolate()->factory()->NewHeapNumber(100.5); |
m.Return(m.HeapConstant(number)); |
- Object* result = m.Call(); |
+ HeapObject* result = m.Call(); |
CHECK_EQ(result, *number); |
} |