aboutsummaryrefslogtreecommitdiff
path: root/emscripten.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-11-22 11:12:42 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-11-22 11:12:42 -0800
commit89bfa7337a7456a6b703cefa632d55dff4c3ad8e (patch)
tree3ec1e486c0694ed8d9a2701d107023946a82d635 /emscripten.py
parent7af6ac4d14404cbc9bf49e7761ec745e6c3dd773 (diff)
require asm.js in fastcomp
Diffstat (limited to 'emscripten.py')
-rwxr-xr-xemscripten.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py
index 3ab79773..40014d2f 100755
--- a/emscripten.py
+++ b/emscripten.py
@@ -725,6 +725,7 @@ def emscript_fast(infile, settings, outfile, libraries=[], compiler_engine=None,
outfile: The file where the output is written.
"""
+ assert(settings['ASM_JS']) # TODO: apply ASM_JS even in -O0 for fastcomp
assert(settings['RUNNING_JS_OPTS'])
# Overview: