diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-16 17:56:15 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-16 17:56:15 -0700 |
commit | cf1180979015805a5ac62d2b6ebe5166771ea030 (patch) | |
tree | f5e92160e894ca04745e5f60b8740bc87db9035c /tools/js-optimizer.js | |
parent | f09da648e3edf1716477772d85e2556c147fa26a (diff) |
be more and more conservative about outlining as we look into outlined functions
Diffstat (limited to 'tools/js-optimizer.js')
-rw-r--r-- | tools/js-optimizer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js index 49bc5d12..9aba3fda 100644 --- a/tools/js-optimizer.js +++ b/tools/js-optimizer.js @@ -3294,6 +3294,8 @@ function outline(ast) { denormalizeAsm(func, asmData); }); + sizeToOutline *= 2; // be more and more conservative about outlining as we look into outlined functions + // TODO: control flow: route returns and breaks. outlined code should have all breaks/continues/returns break into the outermost scope, // after setting a state variable, etc. |