diff options
author | Chad Austin <chad@imvu.com> | 2013-01-29 17:42:03 -0800 |
---|---|---|
committer | Chad Austin <chad@imvu.com> | 2013-03-04 19:07:43 -0800 |
commit | cc9cc70e87d8f4b00aa869453802bf7eee718a4d (patch) | |
tree | 8ba2c08e80aa550ae2fe1b617dbe7b1ca2757c1d /src | |
parent | bd4bc7050b70b71d035327199a18a8e0725d7f1d (diff) |
Delete the compiled relooper.js (but allow specification of an arbitrary relooper)
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler.js | 2 | ||||
-rw-r--r-- | src/settings.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler.js b/src/compiler.js index 1cd09c30..3047daf1 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -199,7 +199,7 @@ load('parseTools.js'); load('intertyper.js'); load('analyzer.js'); load('jsifier.js'); -if (RELOOP) load('relooper.js') +if (RELOOP) load(RELOOPER) globalEval(processMacros(preprocess(read('runtime.js')))); Runtime.QUANTUM_SIZE = QUANTUM_SIZE; diff --git a/src/settings.js b/src/settings.js index e260ed2a..1bfcf92a 100644 --- a/src/settings.js +++ b/src/settings.js @@ -58,6 +58,8 @@ var ALLOW_MEMORY_GROWTH = 0; // If false, we abort with an error if we try to al // Code embetterments var MICRO_OPTS = 1; // Various micro-optimizations, like nativizing variables 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. // 1 has two heaps, IHEAP (int32) and FHEAP (double), |