aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-01 15:28:11 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-01 21:11:32 -0700
commit545f0a7bd6623a744ef4dd5b35da01636dda565e (patch)
tree7f8761db6a2b04a2faf486e9f5b20feb64d13121 /src
parenta08253a00a0c37563ffabb3163de8088bca23933 (diff)
optimize asm function table emitting
Diffstat (limited to 'src')
-rw-r--r--src/modules.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/modules.js b/src/modules.js
index 2757c2cb..9662200c 100644
--- a/src/modules.js
+++ b/src/modules.js
@@ -373,14 +373,6 @@ var Functions = {
}
}
}
- if (table.length > 20) {
- // add some newlines in the table, for readability
- var j = 10;
- while (j+10 < table.length) {
- table[j] += '\n';
- j += 10;
- }
- }
maxTable = Math.max(maxTable, table.length);
}
if (ASM_JS) maxTable = ceilPowerOfTwo(maxTable);