Index: runtime/vm/assembler_mips_test.cc |
diff --git a/runtime/vm/assembler_mips_test.cc b/runtime/vm/assembler_mips_test.cc |
index 1a541a62daa6283fef7b15623a87259f3959a275..207275187e9a2cd2af2e48a7870d2d075773c281 100644 |
--- a/runtime/vm/assembler_mips_test.cc |
+++ b/runtime/vm/assembler_mips_test.cc |
@@ -2018,7 +2018,7 @@ ASSEMBLER_TEST_GENERATE(Cop1TruncWD_NaN, assembler) { |
ASSEMBLER_TEST_RUN(Cop1TruncWD_NaN, test) { |
- typedef double (*SimpleCode)() DART_UNUSED; |
+ typedef int (*SimpleCode)() DART_UNUSED; |
EXPECT(test != NULL); |
EXPECT_EQ(kMaxInt32, EXECUTE_TEST_CODE_INT32(SimpleCode, test->entry())); |
} |
@@ -2035,7 +2035,7 @@ ASSEMBLER_TEST_GENERATE(Cop1TruncWD_Inf, assembler) { |
ASSEMBLER_TEST_RUN(Cop1TruncWD_Inf, test) { |
- typedef double (*SimpleCode)() DART_UNUSED; |
+ typedef int (*SimpleCode)() DART_UNUSED; |
EXPECT(test != NULL); |
EXPECT_EQ(kMaxInt32, EXECUTE_TEST_CODE_INT32(SimpleCode, test->entry())); |
} |
@@ -2050,7 +2050,7 @@ ASSEMBLER_TEST_GENERATE(Cop1TruncWD_Overflow, assembler) { |
ASSEMBLER_TEST_RUN(Cop1TruncWD_Overflow, test) { |
- typedef double (*SimpleCode)() DART_UNUSED; |
+ typedef int (*SimpleCode)() DART_UNUSED; |
EXPECT(test != NULL); |
EXPECT_EQ(kMaxInt32, EXECUTE_TEST_CODE_INT32(SimpleCode, test->entry())); |
} |
@@ -2065,7 +2065,7 @@ ASSEMBLER_TEST_GENERATE(Cop1TruncWD_Underflow, assembler) { |
ASSEMBLER_TEST_RUN(Cop1TruncWD_Underflow, test) { |
- typedef double (*SimpleCode)() DART_UNUSED; |
+ typedef int (*SimpleCode)() DART_UNUSED; |
EXPECT(test != NULL); |
EXPECT_EQ(kMaxInt32, EXECUTE_TEST_CODE_INT32(SimpleCode, test->entry())); |
} |