aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-26 13:51:59 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-06-26 13:51:59 -0700
commitdc341c89d3521c27a41f0d65047096bc0f1f99d2 (patch)
treeba7add67361bbe3dd73955a391a0e94b628a8ab8 /src
parent4d0be84d50307689f6b15f9f4502255736e522db (diff)
deprecate llvm opts in non-ta2 modes
Diffstat (limited to 'src')
-rw-r--r--src/settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.js b/src/settings.js
index 3a91b488..3e530c52 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -67,9 +67,9 @@ var RELOOP = 0; // Recreate js native loops from llvm data
var RELOOPER = 'relooper.js'; // Loads the relooper from this path relative to compiler.js
var USE_TYPED_ARRAYS = 2; // Use typed arrays for the heap. See https://github.com/kripken/emscripten/wiki/Code-Generation-Modes/
- // 0 means no typed arrays are used.
+ // 0 means no typed arrays are used. This mode disallows LLVM optimizations
// 1 has two heaps, IHEAP (int32) and FHEAP (double),
- // and addresses there are a match for normal addresses. This is deprecated.
+ // and addresses there are a match for normal addresses. This mode disallows LLVM optimizations.
// 2 is a single heap, accessible through views as int8, int32, etc. This is
// the recommended mode both for performance and for compatibility.
var USE_FHEAP = 1; // Relevant in USE_TYPED_ARRAYS == 1. If this is disabled, only IHEAP will be used, and FHEAP