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)); |