summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xcheck.py2
-rwxr-xr-xemcc_to_wasm.js.sh (renamed from emcc_to_polyfill.sh)0
3 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index d9e22c216..b51f38a5d 100644
--- a/README.md
+++ b/README.md
@@ -57,7 +57,7 @@ Set `ASM2WASM_DEBUG=1` in the env to see debug info, about asm.js functions as t
Run
```
-./emcc_to_polyfill.sh [filename.c ; whatever other emcc flags you want]
+./emcc_to_wasm.js.sh [filename.c ; whatever other emcc flags you want]
```
That will call `emcc` and then emit `a.normal.js`, a normal asm.js build for comparison purposes, and `a.wasm.js`, which contains the entire polyfill (`asm2wasm` translator + `wasm.js` interpreter).
diff --git a/check.py b/check.py
index 4dc8f2cf9..2d7c8a8d6 100755
--- a/check.py
+++ b/check.py
@@ -78,7 +78,7 @@ for c in tests:
if os.path.exists(emcc):
extra = json.loads(open(emcc).read())
if os.path.exists('a.normal.js'): os.unlink('a.normal.js')
- subprocess.check_call(['./emcc_to_polyfill.sh', os.path.join('test', c)] + extra, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
+ subprocess.check_call(['./emcc_to_wasm.js.sh', os.path.join('test', c)] + extra, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if post:
open('a.normal.js', 'a').write(post)
open('a.wasm.js', 'a').write(post)
diff --git a/emcc_to_polyfill.sh b/emcc_to_wasm.js.sh
index ac01b1638..ac01b1638 100755
--- a/emcc_to_polyfill.sh
+++ b/emcc_to_wasm.js.sh