aboutsummaryrefslogtreecommitdiff
path: root/tools/js-optimizer.js
AgeCommit message (Expand)Author
2013-03-19handle negative zero; fixes #921Alon Zakai
2013-03-09remove coercions on asm function calls that have no capturing variablesAlon Zakai
2013-03-09move addFinalReturns to simplyExpressionsPre so it runs even in -gAlon Zakai
2013-03-09optimize traverseGeneratedFunctionsAlon Zakai
2013-03-09remove limitations on minified namesAlon Zakai
2013-03-09use minified names in registerize for localsAlon Zakai
2013-03-09refactor registerize global substitutionAlon Zakai
2013-03-08for now, do not use rX as minified names, reserve that for registerize localsAlon Zakai
2013-03-08assertions on number of minified namesAlon Zakai
2013-03-08properly scan all globals, including function names, before applying themAlon Zakai
2013-03-08minify function names in function definitionsAlon Zakai
2013-03-08allow -O2 to also call registerize, but without minification of globals that ...Alon Zakai
2013-03-08start to minify inside functions, using global data from previous passAlon Zakai
2013-03-08minify globals in a pass before the functionsAlon Zakai
2013-03-08handle assigns into globals at the top of asm functions in normalizeAsmAlon Zakai
2013-03-08initial work on asm.js minifier infrastructureAlon Zakai
2013-03-08send only a marker of generated functions to js-optimizer.js; we either know ...Alon Zakai
2013-02-17fix registerize bug on functions with arguments but no localsAlon Zakai
2013-02-04optimize num >> num in js optimizer, necessary for asm now that we do not do ...Alon Zakai
2013-02-02eliminate into labelsAlon Zakai
2013-01-23add final asm return of proper type, not always intAlon Zakai
2013-01-19support 0x[a-f] as well in +X to X.0 correction for asmAlon Zakai
2013-01-19support 0x... numbers in +X to X.0 correction for asmAlon Zakai
2013-01-19emit 5.0 instead of +5 in asmAlon Zakai
2013-01-18fix simplyExpressions bug with removing too many |0sAlon Zakai
2013-01-15collect local vars in asm normalization from later defs, not just initialsAlon Zakai
2013-01-14do not remove asm heap coercion in js optimizer when optimizing h8 & 255Alon Zakai
2013-01-12emit 0.0 in asm double definitionsAlon Zakai
2013-01-12refactor use of asm in js optimizerAlon Zakai
2013-01-11improve hasSideEffects in js optimizer a tiny bitAlon Zakai
2013-01-08optimize |,& on constantsAlon Zakai
2013-01-08make sure there is a final return in functions that return value in asmAlon Zakai
2013-01-08improve |0 removal in asm mode a littleAlon Zakai
2013-01-08keep a coercion right on top of heap accesses in asm modeAlon Zakai
2013-01-08fix bug with lack of recursion in simplifyBitopsAlon Zakai
2013-01-07accept either 0.0 or +0 as double in asm coercionAlon Zakai
2012-12-31Merge branch 'incoming' into asm_jsAlon Zakai
2012-12-25invalidate calls in if bodies in eliminatorAlon Zakai
2012-12-13optimize & expressions moreAlon Zakai
2012-12-12do not try to eliminate phi variables, which are unsafe to be removed and the...Alon Zakai
2012-12-12do not try to eliminate phi variables, which are unsafe to be removed and the...Alon Zakai
2012-12-12do not remove |0 through % as it is affected by signs, and |0 can change sign...Alon Zakai
2012-12-10never share parameter registersAlon Zakai
2012-12-09registerize function parameters tooAlon Zakai
2012-12-07forward in Math_* from Math.* and correct the compiled code to align to thatAlon Zakai
2012-12-07simplify normalizeAsmAlon Zakai
2012-12-07make normalizeAsm not get confused when a var later has an unneeded 'var' bef...Alon Zakai
2012-12-07remove unneeded single assignments to otherwise-unused variables in eliminatorAlon Zakai
2012-12-07unvarify later vars in asm when js optimizingAlon Zakai
2012-12-07another eliminateAsm bug+testcaseAlon Zakai