aboutsummaryrefslogtreecommitdiff
path: root/tools/js-optimizer.js
AgeCommit message (Collapse)Author
2012-03-01clean up optimizeShiftsAggressive a littleAlon Zakai
2012-02-29better fix for leaked globalsAlon Zakai
2012-02-29do not pollute global scope except for node (where we must)Alon Zakai
2012-02-19collapse elses after the if block breaks or continues, other minor js ↵Alon Zakai
optimizer fixes
2012-01-19js optimizer commentAlon Zakai
2012-01-16improve side effect detection in js optimizerAlon Zakai
2012-01-15tweak order of operations in vacuumAlon Zakai
2012-01-15optimize hoistMultiples to not need multiple passesAlon Zakai
2012-01-15js optimizer refactoringAlon Zakai
2012-01-14refactor hoistMultiples shell for clarityAlon Zakai
2012-01-14vaccum per function in js optimizerAlon Zakai
2012-01-14optimize js optimizer traversal of generated codeAlon Zakai
2012-01-14optimize hoistMultiples with a switchAlon Zakai
2012-01-14optimize hoistMultiples by removing jsonCompare'sAlon Zakai
2012-01-12emcc option to compress js whitespaceAlon Zakai
2012-01-10refactor js optimizer to not use fs.* as much as possibleAlon Zakai
2012-01-06also hoist loops in inner functionsAlon Zakai
2012-01-03remove label setting when we get to a single entry, even if the label ↵Alon Zakai
setting is not in a block by itself
2012-01-01remove __label__ settings in hoisted blocks and if we are sure the label ↵Alon Zakai
setting is unimportant because the next code after us is not a check for the label
2012-01-01fix bug in loopOptimizer with not removing all unneeded labelsAlon Zakai
2011-12-31simplify shift optimizer and make it safer by not optimizing out >> << combosAlon Zakai
2011-12-31fix shift optimizer bugsAlon Zakai
2011-12-30fix bug with optimizing shifts too large for us to be optimizingAlon Zakai
2011-12-30add var for new variables in shiftOptimizer, and tweak cost function logicAlon Zakai
2011-12-29make shift optimizer output more similar to normal outputAlon Zakai
2011-12-29let shiftOptimizer either replace the original variable, or keep it and add ↵Alon Zakai
a new shifted variable
2011-12-29clean optimizeShiftsAlon Zakai
2011-12-29work harder to not modify original order of +,+,+ sets in optimizeShifts; ↵Alon Zakai
improves speed in corrections benchmark
2011-12-29tweak optimizeShifts cost functionAlon Zakai
2011-12-29fix bug with optimizeShifts asserting shifted constants can always be simplifiedAlon Zakai
2011-12-28do not recombine large shifts in optimizeShiftsAlon Zakai
2011-12-28simplify optimizeShiftsAlon Zakai
2011-12-28fix bug in optimizeShifts with not fixing the shift of X = needsShiftAlon Zakai
2011-12-28ignore string nodes when recombining additions in optimizeShiftsAlon Zakai
2011-12-28do not turn shifts into slow additions in optimizeShiftsAlon Zakai
2011-12-28fix optimizeShifts bugAlon Zakai
2011-12-28complete optimizeShiftsAlon Zakai
2011-12-28initial work on optimizeShifts pass in js optimizerAlon Zakai
2011-12-27improve js optimizer removal of unnecessary |0'sAlon Zakai
2011-12-23clean up and fix js optimizer vacuum and hoisterAlon Zakai
2011-12-22js optimizer bug with removing necessary ifs, even though they have empty ↵Alon Zakai
blocks (they prevent reaching the else)
2011-12-22fix some hoisting bugs, including not hoisting inside inner loopsAlon Zakai
2011-12-22refactor vacuum out in js optimizerAlon Zakai
2011-12-22improve hoister cleanup a littleAlon Zakai
2011-12-22fix hoister bug with ['block']Alon Zakai
2011-12-21fix hoistMultiples bugAlon Zakai
2011-12-21fix hoistMultiples crashAlon Zakai
2011-12-20refactoring and fixes for running more tests in new o1 and o2 modesAlon Zakai
2011-12-20fix js optimizer bugAlon Zakai
2011-12-20hoist multiples into branchings right before themAlon Zakai