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

Unified Diff: test/mjsunit/wasm/gc-frame.js

Issue 2591753002: [wasm] Implement correct 2-level namespace for imports. (Closed)
Patch Set: Fix debug tests Created 4 years 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/gc-buffer.js ('k') | test/mjsunit/wasm/gc-stress.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/gc-frame.js
diff --git a/test/mjsunit/wasm/gc-frame.js b/test/mjsunit/wasm/gc-frame.js
index 9e9aa989997b32b379f1e72404e63d638f70abad..0c8d2ebcf82d1aea169ae9dc8f9f28f9eb1d73e5 100644
--- a/test/mjsunit/wasm/gc-frame.js
+++ b/test/mjsunit/wasm/gc-frame.js
@@ -11,7 +11,7 @@ function makeFFI(func, t) {
var builder = new WasmModuleBuilder();
var sig_index = builder.addType(makeSig([t,t,t,t,t,t,t,t,t,t], [t]));
- builder.addImport("func", sig_index);
+ builder.addImport("m", "func", sig_index);
// Try to create a frame with lots of spilled values and parameters
// on the stack to try to catch GC bugs in the reference maps for
// the different parts of the stack.
@@ -43,7 +43,7 @@ function makeFFI(func, t) {
]) // --
.exportFunc();
- return builder.instantiate({func: func}).exports.main;
+ return builder.instantiate({m: {func: func}}).exports.main;
}
« no previous file with comments | « test/mjsunit/wasm/gc-buffer.js ('k') | test/mjsunit/wasm/gc-stress.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698