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/mjsunit/wasm/wasm-module-builder.js

Issue 2657443003: [wasm] Fix the --wasm_code_fuzzer_gen_test again. (Closed)
Patch Set: Created 3 years, 11 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
« src/wasm/function-body-decoder.cc ('K') | « test/fuzzer/wasm-code.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/wasm-module-builder.js
diff --git a/test/mjsunit/wasm/wasm-module-builder.js b/test/mjsunit/wasm/wasm-module-builder.js
index 5fade5bc8dbda288463539b565bf9342211e299a..186c8609a94a91984b952e497feb1d8f0c704cfa 100644
--- a/test/mjsunit/wasm/wasm-module-builder.js
+++ b/test/mjsunit/wasm/wasm-module-builder.js
@@ -103,6 +103,11 @@ class WasmFunctionBuilder {
return this;
}
+ addBodyWithEnd(body) {
+ this.body = body;
+ return this;
+ }
+
addLocals(locals) {
this.locals = locals;
return this;
« src/wasm/function-body-decoder.cc ('K') | « test/fuzzer/wasm-code.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698