diff options
Diffstat (limited to 'test/gen-spec-js.py')
-rwxr-xr-x | test/gen-spec-js.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gen-spec-js.py b/test/gen-spec-js.py index 0fe2db6a..d32d7b1c 100755 --- a/test/gen-spec-js.py +++ b/test/gen-spec-js.py @@ -80,7 +80,7 @@ JS_FOOTER = """\ function createModule(data) { var u8a = new Uint8Array(data); var ffi = {spectest: {print: print}}; - return Wasm.instantiateModule(u8a.buffer, ffi); + return Wasm.instantiateModule(u8a, ffi); } function assertReturn(module, name, file, line) { |