aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: