summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/spidermonkify.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/spidermonkify.py b/scripts/spidermonkify.py
index bca6458f7..b8adcf77b 100644
--- a/scripts/spidermonkify.py
+++ b/scripts/spidermonkify.py
@@ -28,10 +28,6 @@ def fix(js, before, after):
# fix up js
js = open(js_target).read()
-# send a buffer into wasm methods, not a typed array
-js = fix(js,
- 'instance = Wasm.instantiateModule(binary, info)',
- 'instance = Wasm.instantiateModule(binary.buffer, info)')
# use the wasm, not wast
js = js.replace('"' + base_wast_target + '"', '"' + base_wasm_target + '"')
js = js.replace("'" + base_wast_target + "'", "'" + base_wasm_target + "'")