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

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: Address comments 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
« no previous file with comments | « test/cctest/cctest.gyp ('k') | test/cctest/wasm/wasm-module-runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..cdfcf1ffcd969b0357d1499a17d2b9be19dc4dd6 100644
--- a/test/cctest/wasm/test-run-wasm-module.cc
+++ b/test/cctest/wasm/test-run-wasm-module.cc
@@ -14,6 +14,7 @@
#include "test/cctest/cctest.h"
#include "test/cctest/wasm/test-signatures.h"
+#include "test/cctest/wasm/wasm-module-runner.h"
using namespace v8::base;
using namespace v8::internal;
@@ -256,8 +257,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();
}
« no previous file with comments | « test/cctest/cctest.gyp ('k') | test/cctest/wasm/wasm-module-runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698