diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-03-30 17:46:55 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-03-30 17:46:55 -0700 |
commit | 9b79d4ccac0c47e58ce3cfe033730106b6fd302f (patch) | |
tree | 10e11f29df2b6ccbf6b24d9d4289b1e32c586093 /scripts/spidermonkify.py | |
parent | cb71620e64a267bb39412b3b578379835feb64b2 (diff) | |
parent | 57275446a9cca19ab58bb937753cf75cbd1481fb (diff) | |
download | binaryen-9b79d4ccac0c47e58ce3cfe033730106b6fd302f.tar.gz binaryen-9b79d4ccac0c47e58ce3cfe033730106b6fd302f.tar.bz2 binaryen-9b79d4ccac0c47e58ce3cfe033730106b6fd302f.zip |
Merge pull request #297 from WebAssembly/frist_wasm_backend_full_test
More tests for wasm backend
Diffstat (limited to 'scripts/spidermonkify.py')
-rw-r--r-- | scripts/spidermonkify.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/spidermonkify.py b/scripts/spidermonkify.py index 1632c20fd..d7b2ea138 100644 --- a/scripts/spidermonkify.py +++ b/scripts/spidermonkify.py @@ -51,16 +51,6 @@ js = js.replace("'" + base_wast_target + "'", "'" + base_wasm_target + "'") open(js_target, 'w').write(js) shutil.copyfile(wast_target + '.mappedGlobals', wasm_target + '.mappedGlobals') -# fix up wast -wast = open(wast_target).read() -# memory -memory_start = wast.find('(memory') + 1 -memory_end = wast.find(')', memory_start) -wast = (wast[:memory_end + 1] + - ' (export "memory" memory) ' + - wast[memory_end + 1:]) -open(wast_target, 'w').write(wast) - # convert to binary using spidermonkey subprocess.check_call( emscripten.shared.SPIDERMONKEY_ENGINE + |