Index: test/cctest/test-code-stubs-mips64.cc |
diff --git a/test/cctest/test-code-stubs-mips64.cc b/test/cctest/test-code-stubs-mips64.cc |
index 9f146f65fd9698e643190fa4fbb9a6caa95bd842..1f7df380e168b916d2c4f1decba828465861cd1f 100644 |
--- a/test/cctest/test-code-stubs-mips64.cc |
+++ b/test/cctest/test-code-stubs-mips64.cc |
@@ -144,8 +144,7 @@ |
double from) { |
#ifdef USE_SIMULATOR |
Simulator::current(Isolate::Current())->CallFP(FUNCTION_ADDR(func), from, 0.); |
- return static_cast<int32_t>( |
- Simulator::current(Isolate::Current())->get_register(v0.code())); |
+ return Simulator::current(Isolate::Current())->get_register(v0.code()); |
#else |
return (*func)(from); |
#endif |