diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-06-26 13:51:59 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-06-26 13:51:59 -0700 |
commit | dc341c89d3521c27a41f0d65047096bc0f1f99d2 (patch) | |
tree | ba7add67361bbe3dd73955a391a0e94b628a8ab8 /emcc | |
parent | 4d0be84d50307689f6b15f9f4502255736e522db (diff) |
deprecate llvm opts in non-ta2 modes
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1058,6 +1058,10 @@ try: else: raise Exception('unknown llvm target: ' + str(shared.LLVM_TARGET)) + if shared.Settings.USE_TYPED_ARRAYS != 2 and llvm_opts > 0: + logging.warning('disabling LLVM optimizations, need typed arrays mode 2 for them') + llvm_opts = 0 + ## Compile source code to bitcode logging.debug('compiling to bitcode') |