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

Unified Diff: test/mjsunit/wasm/calls.js

Issue 1577803002: [wasm] Rename the WASM object to _WASMEXP_. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/asm-wasm.js ('k') | test/mjsunit/wasm/compile-run-basic.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/calls.js
diff --git a/test/mjsunit/wasm/calls.js b/test/mjsunit/wasm/calls.js
index 88ad80b55949b61ab79457ff9386d5645b956b94..98ad657f522c1653c71b8ed0425e92626d6deea7 100644
--- a/test/mjsunit/wasm/calls.js
+++ b/test/mjsunit/wasm/calls.js
@@ -10,7 +10,7 @@ var module = (function () {
var kBodySize = 5;
var kNameOffset = 21 + kBodySize + 1;
- return WASM.instantiateModule(bytes(
+ return _WASMEXP_.instantiateModule(bytes(
// -- memory
kDeclMemory,
12, 12, 1,
@@ -64,7 +64,7 @@ var module = (function() {
var kBodySize = 1;
var kNameOffset2 = 19 + kBodySize + 1;
- return WASM.instantiateModule(bytes(
+ return _WASMEXP_.instantiateModule(bytes(
// -- memory
kDeclMemory,
12, 12, 1,
@@ -136,7 +136,7 @@ assertEquals(undefined, module.nop());
'f', 'l', 't', 0 // name
);
- var module = WASM.instantiateModule(data);
+ var module = _WASMEXP_.instantiateModule(data);
assertEquals("function", typeof module.flt);
assertEquals(1, module.flt(-2, -1));
« no previous file with comments | « test/mjsunit/wasm/asm-wasm.js ('k') | test/mjsunit/wasm/compile-run-basic.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698