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