diff options
Diffstat (limited to 'tools/js-optimizer.js')
-rw-r--r-- | tools/js-optimizer.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/js-optimizer.js b/tools/js-optimizer.js index 82942ce2..facf2a0e 100644 --- a/tools/js-optimizer.js +++ b/tools/js-optimizer.js @@ -3418,8 +3418,10 @@ function outline(ast) { // final evaluation and processing if (!extraInfo.allowCostlyOutlines && (measureSize(func) >= funcSize || measureSize(newFunc) >= funcSize)) { // abort, this was pointless + printErr('abort outlining ' + newIdent); stats.length = originalStats.length; for (var i = 0; i < stats.length; i++) stats[i] = originalStats[i]; + asmData.splitCounter--; return []; } for (var v in owned) { @@ -3434,6 +3436,7 @@ function outline(ast) { } } outliningParents[newIdent] = func[1]; + printErr('successful outlining ' + newIdent); calculateThreshold(func); return [newFunc]; } |