aboutsummaryrefslogtreecommitdiff
path: root/src/jsifier.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-01-07 14:02:19 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-01-07 14:02:19 -0800
commit7d249fbeb1ffea43e705f180a67abdfbe2fbae42 (patch)
tree789727cd4f43e381ec403c051ec861203d4a6b98 /src/jsifier.js
parent79f0cfe423103c7c857c0abc2362608d64878c13 (diff)
add asm.js mode to relooper, for label comparisons1.2.1
Diffstat (limited to 'src/jsifier.js')
-rw-r--r--src/jsifier.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jsifier.js b/src/jsifier.js
index 64ac707b..24af5b6d 100644
--- a/src/jsifier.js
+++ b/src/jsifier.js
@@ -724,6 +724,8 @@ function JSify(data, functionsOnly, givenFunctions) {
//Relooper.setDebug(1);
Relooper.init();
+ if (ASM_JS) Relooper.setAsmJSMode(1);
+
var blockMap = {};
// add blocks
for (var i = 0; i < block.labels.length; i++) {