Index: test/cctest/test-code-stubs-arm.cc |
diff --git a/test/cctest/test-code-stubs-arm.cc b/test/cctest/test-code-stubs-arm.cc |
index c99433edad4c281b3a1c2b2e5b14dd772567c432..54eaa58318f823a85fe2a6a4cb363e7a8f10793d 100644 |
--- a/test/cctest/test-code-stubs-arm.cc |
+++ b/test/cctest/test-code-stubs-arm.cc |
@@ -143,7 +143,7 @@ static Isolate* GetIsolateFrom(LocalContext* context) { |
int32_t RunGeneratedCodeCallWrapper(ConvertDToIFunc func, |
double from) { |
#ifdef USE_SIMULATOR |
- return reinterpret_cast<int32_t>(CALL_GENERATED_CODE(func, from, 0, 0, 0, 0)); |
+ return CALL_GENERATED_FP_INT(func, from, 0); |
#else |
return (*func)(from); |
#endif |