Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1498)

Unified Diff: runtime/vm/assembler_mips_test.cc

Issue 1767133002: Fix typo in newly introduced mips assembly tests. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()));
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698