aboutsummaryrefslogtreecommitdiff
path: root/tools/js-optimizer.js
AgeCommit message (Expand)Author
2013-05-28only abort in eliminator when actually necessaryAlon Zakai
2013-05-25fix registerize semantics to treat each arm of ifs and switches separatelyAlon Zakai
2013-05-25registerize in asm switchesAlon Zakai
2013-05-25eliminate into switch casesAlon Zakai
2013-05-22Optimize (x&A)<<B>>B.Dan Gohman
2013-05-16support closure compiler on the shell in asm modeAlon Zakai
2013-05-10do not eliminate if there is a switchAlon Zakai
2013-05-10only recurse on decreasing uses on locals, and clear out names to avoid confu...Alon Zakai
2013-05-10recursively remove variables with no uses in eliminatorAlon Zakai
2013-05-07recognize the double-to-i64 bitcast pattern as having no side effects in elim...Alon Zakai
2013-05-07fix mishandling of inference of global var typesAlon Zakai
2013-05-07infer untyped variables in js-optimizer.js by origin variable's type if they ...Alon Zakai
2013-05-01TODOAlon Zakai
2013-04-20optimize HEAPU?8[..] << 24 >> 24 and similarAlon Zakai
2013-04-17remove eliminated variable definitions only if variable was successfully remo...Alon Zakai
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