diff options
Diffstat (limited to 'deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc')
-rw-r--r-- | deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc b/deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc index 9e15c46f8d2..fc9e395d44c 100644 --- a/deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc +++ b/deps/v8/test/cctest/wasm/test-run-wasm-asmjs.cc @@ -20,7 +20,7 @@ namespace internal { namespace wasm { WASM_EXEC_TEST(Int32AsmjsDivS) { - WasmRunner<int32_t, int32_t, int32_t> r(execution_mode); + WasmRunner<int32_t, int32_t, int32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_BINOP(kExprI32AsmjsDivS, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); const int32_t kMin = std::numeric_limits<int32_t>::min(); @@ -32,7 +32,7 @@ WASM_EXEC_TEST(Int32AsmjsDivS) { } WASM_EXEC_TEST(Int32AsmjsRemS) { - WasmRunner<int32_t, int32_t, int32_t> r(execution_mode); + WasmRunner<int32_t, int32_t, int32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_BINOP(kExprI32AsmjsRemS, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); const int32_t kMin = std::numeric_limits<int32_t>::min(); @@ -44,7 +44,7 @@ WASM_EXEC_TEST(Int32AsmjsRemS) { } WASM_EXEC_TEST(Int32AsmjsDivU) { - WasmRunner<int32_t, int32_t, int32_t> r(execution_mode); + WasmRunner<int32_t, int32_t, int32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_BINOP(kExprI32AsmjsDivU, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); const int32_t kMin = std::numeric_limits<int32_t>::min(); @@ -56,7 +56,7 @@ WASM_EXEC_TEST(Int32AsmjsDivU) { } WASM_EXEC_TEST(Int32AsmjsRemU) { - WasmRunner<int32_t, int32_t, int32_t> r(execution_mode); + WasmRunner<int32_t, int32_t, int32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_BINOP(kExprI32AsmjsRemU, WASM_GET_LOCAL(0), WASM_GET_LOCAL(1))); const int32_t kMin = std::numeric_limits<int32_t>::min(); @@ -68,7 +68,7 @@ WASM_EXEC_TEST(Int32AsmjsRemU) { } WASM_EXEC_TEST(I32AsmjsSConvertF32) { - WasmRunner<int32_t, float> r(execution_mode); + WasmRunner<int32_t, float> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_UNOP(kExprI32AsmjsSConvertF32, WASM_GET_LOCAL(0))); @@ -79,7 +79,7 @@ WASM_EXEC_TEST(I32AsmjsSConvertF32) { } WASM_EXEC_TEST(I32AsmjsSConvertF64) { - WasmRunner<int32_t, double> r(execution_mode); + WasmRunner<int32_t, double> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_UNOP(kExprI32AsmjsSConvertF64, WASM_GET_LOCAL(0))); @@ -90,7 +90,7 @@ WASM_EXEC_TEST(I32AsmjsSConvertF64) { } WASM_EXEC_TEST(I32AsmjsUConvertF32) { - WasmRunner<uint32_t, float> r(execution_mode); + WasmRunner<uint32_t, float> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_UNOP(kExprI32AsmjsUConvertF32, WASM_GET_LOCAL(0))); @@ -101,7 +101,7 @@ WASM_EXEC_TEST(I32AsmjsUConvertF32) { } WASM_EXEC_TEST(I32AsmjsUConvertF64) { - WasmRunner<uint32_t, double> r(execution_mode); + WasmRunner<uint32_t, double> r(execution_tier); r.builder().ChangeOriginToAsmjs(); BUILD(r, WASM_UNOP(kExprI32AsmjsUConvertF64, WASM_GET_LOCAL(0))); @@ -112,7 +112,7 @@ WASM_EXEC_TEST(I32AsmjsUConvertF64) { } WASM_EXEC_TEST(LoadMemI32_oob_asm) { - WasmRunner<int32_t, uint32_t> r(execution_mode); + WasmRunner<int32_t, uint32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); int32_t* memory = r.builder().AddMemoryElems<int32_t>(8); r.builder().RandomizeMemory(1112); @@ -132,7 +132,7 @@ WASM_EXEC_TEST(LoadMemI32_oob_asm) { } WASM_EXEC_TEST(LoadMemF32_oob_asm) { - WasmRunner<float, uint32_t> r(execution_mode); + WasmRunner<float, uint32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); float* memory = r.builder().AddMemoryElems<float>(8); r.builder().RandomizeMemory(1112); @@ -152,7 +152,7 @@ WASM_EXEC_TEST(LoadMemF32_oob_asm) { } WASM_EXEC_TEST(LoadMemF64_oob_asm) { - WasmRunner<double, uint32_t> r(execution_mode); + WasmRunner<double, uint32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); double* memory = r.builder().AddMemoryElems<double>(8); r.builder().RandomizeMemory(1112); @@ -174,7 +174,7 @@ WASM_EXEC_TEST(LoadMemF64_oob_asm) { } WASM_EXEC_TEST(StoreMemI32_oob_asm) { - WasmRunner<int32_t, uint32_t, uint32_t> r(execution_mode); + WasmRunner<int32_t, uint32_t, uint32_t> r(execution_tier); r.builder().ChangeOriginToAsmjs(); int32_t* memory = r.builder().AddMemoryElems<int32_t>(8); r.builder().RandomizeMemory(1112); |