diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-02-21 17:00:24 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-02-21 17:00:24 -0800 |
commit | bc0a257c9864357fea3f678303401841306b7ff7 (patch) | |
tree | 86b6b47c299dbe11ff024addea37db34eb91b20a /emcc | |
parent | 77241ebeec90e1ef51306c79d3a5c77dba4f2ab3 (diff) |
error on CORRUPTION_CHECK in fastcomp
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1220,6 +1220,7 @@ try: assert shared.Settings.MAX_SETJMPS == 20, 'changing MAX_SETJMPS is not supported in fastcomp yet' assert shared.Settings.INIT_HEAP == 0, 'HEAP_INIT is not supported in fastcomp (and should never be needed except for debugging)' assert not shared.Settings.RUNTIME_TYPE_INFO, 'RUNTIME_TYPE_INFO is not supported in fastcomp' + assert not shared.Settings.CORRUPTION_CHECK, 'CORRUPTION_CHECK is not supported in asm.js mode, which is what fastcomp can emit (you can use non-asm.js mode in non-fastcomp)' except Exception, e: logging.error('Compiler settings are incompatible with fastcomp. You can fall back to the older compiler core, although that is not recommended, see https://github.com/kripken/emscripten/wiki/LLVM-Backend') raise e |