diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 10:15:05 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-10 10:15:05 -0800 |
commit | 4bdc1c2d1db587ab8ac391d7b6e2b80aeaefdad0 (patch) | |
tree | 22980d38c5663df08517a1b6a9304aefbf2a98e3 /emcc | |
parent | 9bd809a49cc4a04f6296900d9deaa1e26db586e1 (diff) |
validate as asm.js in fastcomp -O1 and above, not -O0 output which is very unoptimized
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1198,7 +1198,7 @@ try: fastcomp = os.environ.get('EMCC_FAST_COMPILER') == '1' if fastcomp: - shared.Settings.ASM_JS = 1 + shared.Settings.ASM_JS = 1 if opt_level > 0 else 2 assert shared.Settings.ALLOW_MEMORY_GROWTH == 0, 'memory growth not supported in fastcomp yet' assert shared.Settings.UNALIGNED_MEMORY == 0, 'forced unaligned memory not supported in fastcomp' assert shared.Settings.CHECK_HEAP_ALIGN == 0, 'check heap align not supported in fastcomp yet' |