Index: test/cctest/test-macro-assembler-arm.cc |
diff --git a/test/cctest/test-macro-assembler-arm.cc b/test/cctest/test-macro-assembler-arm.cc |
index 38c5cc04d0c062bd7cc60f46215d263494570738..e7f079eaaecfbeb556bb24454758a2b27fd55823 100644 |
--- a/test/cctest/test-macro-assembler-arm.cc |
+++ b/test/cctest/test-macro-assembler-arm.cc |
@@ -222,8 +222,9 @@ TEST(LoadAndStoreWithRepresentation) { |
// Call the function from C++. |
F0 f = FUNCTION_CAST<F0>(buffer); |
- int32_t result = Simulator::current(Isolate::Current())->Call( |
- FUNCTION_ADDR(f), 4, 0, 0, 0, 0); |
+ intptr_t result = reinterpret_cast<intptr_t>( |
+ CALL_GENERATED_CODE(FUNCTION_ADDR(f), 4, 0, 0, 0, 0)); |
+ |
CHECK_EQ(0, result); |
} |