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

Unified Diff: test/inspector/debugger/wasm-stack.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/inspector/debugger/wasm-source.js ('k') | test/mjsunit/wasm/compiled-module-management.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/wasm-stack.js
diff --git a/test/inspector/debugger/wasm-stack.js b/test/inspector/debugger/wasm-stack.js
index 56186c9568e15504924e2017a50d56b9ffae416c..7ac360935bc4ce7733fe372c84be411e73c90873 100644
--- a/test/inspector/debugger/wasm-stack.js
+++ b/test/inspector/debugger/wasm-stack.js
@@ -9,7 +9,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
var builder = new WasmModuleBuilder();
-var imported_idx = builder.addImport("func", kSig_v_v);
+var imported_idx = builder.addImport("mode", "func", kSig_v_v);
var call_imported_idx = builder.addFunction('call_func', kSig_v_v)
.addBody([kExprCallFunction, imported_idx])
@@ -35,7 +35,7 @@ function testFunction(bytes) {
}
var module = new WebAssembly.Module(buffer);
- var instance = new WebAssembly.Instance(module, {func: call_debugger});
+ var instance = new WebAssembly.Instance(module, {mode: {func: call_debugger}});
instance.exports.main();
}
« no previous file with comments | « test/inspector/debugger/wasm-source.js ('k') | test/mjsunit/wasm/compiled-module-management.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698