diff options
Diffstat (limited to 'scripts/spidermonkify.py')
-rw-r--r-- | scripts/spidermonkify.py | 4 |
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 + |