aboutsummaryrefslogtreecommitdiff
path: root/tools/js_optimizer.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-02-28 15:26:52 -0500
committerAlon Zakai <alonzakai@gmail.com>2013-02-28 15:34:34 -0500
commit1b88f7337bbb641ce3d85a155472ff97b8620a95 (patch)
tree6ad9adbdd2fbcf1aa523e991d01fefe28e6e54e9 /tools/js_optimizer.py
parent6477d51f2e380f281631a363b6343f11248cd71a (diff)
disable v8 stack size increase because of windows instability; make it easy to at least add params to node/v8 in ~/.emscripten by defining a list there and not just a string
Diffstat (limited to 'tools/js_optimizer.py')
-rw-r--r--tools/js_optimizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py
index ca42081d..231c6257 100644
--- a/tools/js_optimizer.py
+++ b/tools/js_optimizer.py
@@ -139,7 +139,7 @@ def run_on_js(filename, passes, js_engine, jcache):
if len(filenames) > 0:
# XXX Use '--nocrankshaft' to disable crankshaft to work around v8 bug 1895, needed for older v8/node (node 0.6.8+ should be ok)
- commands = map(lambda filename: [js_engine, JS_OPTIMIZER, filename, 'noPrintMetadata'] + passes, filenames)
+ commands = map(lambda filename: js_engine + [JS_OPTIMIZER, filename, 'noPrintMetadata'] + passes, filenames)
#print [' '.join(command) for command in commands]
cores = min(cores, filenames)