summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-22 10:45:53 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-22 10:45:53 -0700
commit70233cc553b8ab314cf15120e35e7a49ad9b76ab (patch)
tree73f53a8e2469342b01a70f1554f3c633956e53ce /scripts
parent8a58f27b7cc8effa4ebabc30c633a895cd1fa4b9 (diff)
parent0a43823615155f956f078ce7b7a8a580bc01fbe1 (diff)
downloadbinaryen-70233cc553b8ab314cf15120e35e7a49ad9b76ab.tar.gz
binaryen-70233cc553b8ab314cf15120e35e7a49ad9b76ab.tar.bz2
binaryen-70233cc553b8ab314cf15120e35e7a49ad9b76ab.zip
Merge pull request #379 from WebAssembly/zero_x_b
More 0xb fixes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/spidermonkify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/spidermonkify.py b/scripts/spidermonkify.py
index 9c99b4087..b199faafc 100644
--- a/scripts/spidermonkify.py
+++ b/scripts/spidermonkify.py
@@ -59,8 +59,8 @@ new Uint8Array(wasmTextToBinary(os.file.readFile("test/hello_world.wast"))))'
investigate with
>>> map(chr, map(ord, open('moz.wasm').read()))
or
-import json; print json.dumps(map(chr,
-map(ord, open('moz.wasm').read()))).replace(',', '\n')
+python -c "print str(map(chr,map(ord,
+ open('a.out.wasm').read()))).replace(',', '\n')"
'''
subprocess.check_call(
emscripten.shared.SPIDERMONKEY_ENGINE +