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

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

Issue 2321443002: [wasm] Call the wasm interpreter from the wasm-code-fuzzer. (Closed)
Patch Set: Bugfix Created 4 years, 3 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
Index: test/cctest/wasm/test-run-wasm-module.cc
diff --git a/test/cctest/wasm/test-run-wasm-module.cc b/test/cctest/wasm/test-run-wasm-module.cc
index 3ca75550edbf112911006b2885893d2ad2ea310f..7501d08455b3e379a49bb338cb16ae545027555c 100644
--- a/test/cctest/wasm/test-run-wasm-module.cc
+++ b/test/cctest/wasm/test-run-wasm-module.cc
@@ -256,8 +256,8 @@ TEST(Run_WasmModule_Serialization) {
Handle<JSArrayBuffer>::null())
.ToHandleChecked();
Handle<Object> params[1] = {Handle<Object>(Smi::FromInt(41), isolate)};
- int32_t result = testing::CallFunction(isolate, instance, &thrower,
- kFunctionName, 1, params);
+ int32_t result = testing::CallWasmFunctionForTesting(
+ isolate, instance, thrower, kFunctionName, 1, params);
CHECK(result == 42);
new_ctx->Exit();
}
« src/wasm/wasm-module.cc ('K') | « src/wasm/wasm-module.cc ('k') | test/fuzzer/wasm-code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698