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

Unified Diff: test/mjsunit/wasm/trap-location.js

Issue 2640453003: [wasm] Fix and tighten memory validation (Closed)
Patch Set: Comments 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
« no previous file with comments | « test/mjsunit/wasm/stack.js ('k') | test/mjsunit/wasm/trap-location-with-trap-if.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/trap-location.js
diff --git a/test/mjsunit/wasm/trap-location.js b/test/mjsunit/wasm/trap-location.js
index 1aee6d1567ff4a3c379ede5f6afe963e552675a3..890672357c08ca18c87473c806e03ac203f82a3b 100644
--- a/test/mjsunit/wasm/trap-location.js
+++ b/test/mjsunit/wasm/trap-location.js
@@ -14,6 +14,8 @@ Error.prepareStackTrace = function(error, frames) {
var builder = new WasmModuleBuilder();
+builder.addMemory(0, 1, false);
+
var sig_index = builder.addType(kSig_i_v)
// Build a function to resemble this code:
« no previous file with comments | « test/mjsunit/wasm/stack.js ('k') | test/mjsunit/wasm/trap-location-with-trap-if.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698