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

Unified Diff: test/mjsunit/wasm/wasm-module-builder.js

Issue 1770383002: [wasm] Rename _WASMEXP_ object to Wasm. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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/verify-module-basic-errors.js ('k') | test/mjsunit/wasm/wasm-object-api.js » ('j') | 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 dd150018917ad795eded1cef51e3d74706bbcd8d..59166fc9e45679b122a342cdf0d810c3903dc98d 100644
--- a/test/mjsunit/wasm/wasm-module-builder.js
+++ b/test/mjsunit/wasm/wasm-module-builder.js
@@ -359,8 +359,8 @@ WasmModuleBuilder.prototype.toBuffer = function(debug) {
WasmModuleBuilder.prototype.instantiate = function(ffi, memory) {
var buffer = this.toBuffer();
if (memory != undefined) {
- return _WASMEXP_.instantiateModule(buffer, ffi, memory);
+ return Wasm.instantiateModule(buffer, ffi, memory);
} else {
- return _WASMEXP_.instantiateModule(buffer, ffi);
+ return Wasm.instantiateModule(buffer, ffi);
}
}
« no previous file with comments | « test/mjsunit/wasm/verify-module-basic-errors.js ('k') | test/mjsunit/wasm/wasm-object-api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698