diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-09-09 11:21:39 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-09-09 11:21:39 -0700 |
commit | 406687693664d4ddef53c1178fdfcef28999f2ad (patch) | |
tree | 8618c35eaf14604fbdd27b2de63e4bdc02d19520 /emscripten.py | |
parent | 7ee8f9ba0925cf427b6e2870d3d365abab4b2414 (diff) |
mark side modules as not valid asm.js, for now; #1577
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emscripten.py b/emscripten.py index e05037b0..fcf109bf 100755 --- a/emscripten.py +++ b/emscripten.py @@ -553,7 +553,7 @@ var asm = (function(global, env, buffer) { var HEAPU32 = new global.Uint32Array(buffer); var HEAPF32 = new global.Float32Array(buffer); var HEAPF64 = new global.Float64Array(buffer); -''' % (asm_setup, "'use asm';" if not forwarded_json['Types']['hasInlineJS'] else "'almost asm, but inline js';") + '\n' + asm_global_vars + ''' +''' % (asm_setup, "'use asm';" if not forwarded_json['Types']['hasInlineJS'] and not settings['SIDE_MODULE'] else "'almost asm';") + '\n' + asm_global_vars + ''' var __THREW__ = 0; var threwValue = 0; var setjmpId = 0; |