Index: test/cctest/test-assembler-mips.cc |
diff --git a/test/cctest/test-assembler-mips.cc b/test/cctest/test-assembler-mips.cc |
index 4f986cea9b1e396529e88aaf51d09e15cc472217..2a620add257358137a7313bac38f9892df957a24 100644 |
--- a/test/cctest/test-assembler-mips.cc |
+++ b/test/cctest/test-assembler-mips.cc |
@@ -5024,8 +5024,7 @@ TEST(r6_jialc) { |
} |
} |
- |
-uint64_t run_addiupc(int32_t imm19) { |
+static uint32_t run_addiupc(int32_t imm19) { |
Isolate* isolate = CcTest::i_isolate(); |
HandleScope scope(isolate); |
@@ -5058,13 +5057,13 @@ TEST(r6_addiupc) { |
int32_t imm19; |
}; |
- struct TestCaseAddiupc tc[] = { |
- // imm19 |
- { -262144 }, // 0x40000 |
- { -1 }, // 0x7FFFF |
- { 0 }, |
- { 1 }, // 0x00001 |
- { 262143 } // 0x3FFFF |
+ TestCaseAddiupc tc[] = { |
+ // imm19 |
+ {-262144}, // 0x40000 |
+ {-1}, // 0x7FFFF |
+ {0}, |
+ {1}, // 0x00001 |
+ {262143} // 0x3FFFF |
}; |
size_t nr_test_cases = sizeof(tc) / sizeof(TestCaseAddiupc); |