| Index: test/cctest/test-run-wasm-relocation-x87.cc
|
| diff --git a/test/cctest/test-run-wasm-relocation-x87.cc b/test/cctest/test-run-wasm-relocation-x87.cc
|
| index c66fb773095f6ab2f37329b03457463f7556fbc8..17b340ac9e9ae23ec244f86bb6d4b5157d4ab30f 100644
|
| --- a/test/cctest/test-run-wasm-relocation-x87.cc
|
| +++ b/test/cctest/test-run-wasm-relocation-x87.cc
|
| @@ -56,7 +56,7 @@ TEST(WasmRelocationX87MemoryReference) {
|
| disasm::Disassembler::Disassemble(stdout, begin, end);
|
| #endif
|
|
|
| - size_t offset = 1234;
|
| + int offset = 1234;
|
|
|
| // Relocating references by offset
|
| int mode_mask = (1 << RelocInfo::WASM_MEMORY_REFERENCE);
|
| @@ -114,7 +114,7 @@ TEST(WasmRelocationX87MemorySizeReference) {
|
|
|
| CodeRunner<int32_t> runnable(isolate, code, &csig);
|
| int32_t ret_value = runnable.Call();
|
| - CHECK_NE(ret_value, 0xdeadbeef);
|
| + CHECK_NE(ret_value, bit_cast<int32_t>(0xdeadbeef));
|
|
|
| #ifdef OBJECT_PRINT
|
| OFStream os(stdout);
|
| @@ -138,7 +138,7 @@ TEST(WasmRelocationX87MemorySizeReference) {
|
| }
|
|
|
| ret_value = runnable.Call();
|
| - CHECK_NE(ret_value, 0xdeadbeef);
|
| + CHECK_NE(ret_value, bit_cast<int32_t>(0xdeadbeef));
|
|
|
| #ifdef OBJECT_PRINT
|
| code->Print(os);
|
|
|