disable closure when ASM_JS
This commit is contained in:
Родитель
1ed8986643
Коммит
a917909969
4
emcc
4
emcc
|
@ -856,6 +856,10 @@ try:
|
|||
if shared.Settings.CORRECT_SIGNS >= 2 or shared.Settings.CORRECT_OVERFLOWS >= 2 or shared.Settings.CORRECT_ROUNDINGS >= 2:
|
||||
keep_debug = True # must keep debug info to do line-by-line operations
|
||||
|
||||
if closure and shared.Settings.ASM_JS:
|
||||
print >> sys.stderr, 'emcc: warning: disabling closure because it is not compatible with asm.js code generation'
|
||||
closure = False
|
||||
|
||||
## Compile source code to bitcode
|
||||
|
||||
if DEBUG: print >> sys.stderr, 'emcc: compiling to bitcode'
|
||||
|
|
Загрузка…
Ссылка в новой задаче