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

Unified Diff: test/cctest/wasm/test-run-wasm-interpreter.cc

Issue 2230063002: [wasm] Experimental: Add support for multiple non-homogeneous tables Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 | « test/cctest/wasm/test-run-wasm-64.cc ('k') | test/cctest/wasm/test-run-wasm-js.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/wasm/test-run-wasm-interpreter.cc
diff --git a/test/cctest/wasm/test-run-wasm-interpreter.cc b/test/cctest/wasm/test-run-wasm-interpreter.cc
index c4e03b50d6138cbf45c124fa06c3efeee2890378..60651014d1cbbb98d9a4bd4720776074463e32b4 100644
--- a/test/cctest/wasm/test-run-wasm-interpreter.cc
+++ b/test/cctest/wasm/test-run-wasm-interpreter.cc
@@ -58,7 +58,7 @@ TEST(Run_WasmNopsN) {
code[nops + 1] = expected;
WasmRunner<int32_t> r(kExecuteInterpreted);
- r.Build(code, code + nops + 2);
+ r.Build(code, code + nops + 2, false);
CHECK_EQ(expected, r.Call());
}
}
@@ -74,7 +74,7 @@ TEST(Run_WasmConstsN) {
byte expected = static_cast<byte>(count * 11 - 1);
WasmRunner<int32_t> r(kExecuteInterpreted);
- r.Build(code, code + (count * 2));
+ r.Build(code, code + (count * 2), false);
CHECK_EQ(expected, r.Call());
}
}
@@ -92,7 +92,7 @@ TEST(Run_WasmBlocksN) {
code[1 + nops + 2] = kExprEnd;
WasmRunner<int32_t> r(kExecuteInterpreted);
- r.Build(code, code + nops + kExtra);
+ r.Build(code, code + nops + kExtra, false);
CHECK_EQ(expected, r.Call());
}
}
@@ -116,7 +116,7 @@ TEST(Run_WasmBlockBreakN) {
code[1 + index + 4] = 0;
WasmRunner<int32_t> r(kExecuteInterpreted);
- r.Build(code, code + kMaxNops + kExtra);
+ r.Build(code, code + kMaxNops + kExtra, false);
CHECK_EQ(expected, r.Call());
}
}
@@ -175,7 +175,7 @@ TEST(Breakpoint_I32Add) {
WasmRunner<int32_t> r(kExecuteInterpreted, MachineType::Uint32(),
MachineType::Uint32());
- r.Build(code, code + arraysize(code));
+ r.Build(code, code + arraysize(code), false);
WasmInterpreter* interpreter = r.interpreter();
WasmInterpreter::Thread* thread = interpreter->GetThread(0);
@@ -214,7 +214,7 @@ TEST(Step_I32Mul) {
WasmRunner<int32_t> r(kExecuteInterpreted, MachineType::Uint32(),
MachineType::Uint32());
- r.Build(code, code + arraysize(code));
+ r.Build(code, code + arraysize(code), false);
WasmInterpreter* interpreter = r.interpreter();
WasmInterpreter::Thread* thread = interpreter->GetThread(0);
@@ -253,7 +253,7 @@ TEST(Breakpoint_I32And_disable) {
WasmRunner<int32_t> r(kExecuteInterpreted, MachineType::Uint32(),
MachineType::Uint32());
- r.Build(code, code + arraysize(code));
+ r.Build(code, code + arraysize(code), false);
WasmInterpreter* interpreter = r.interpreter();
WasmInterpreter::Thread* thread = interpreter->GetThread(0);
« no previous file with comments | « test/cctest/wasm/test-run-wasm-64.cc ('k') | test/cctest/wasm/test-run-wasm-js.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698