aboutsummaryrefslogtreecommitdiff
path: root/tools/js-optimizer.js
AgeCommit message (Expand)Author
2012-11-08fix crash in js optimizerAlon Zakai
2012-11-08rename __label__ => labelAlon Zakai
2012-10-29eliminate variables that have no uses but their definition has side effectsAlon Zakai
2012-10-28make js optimizer detection of generated functions marker more robustAlon Zakai
2012-10-27add memory-growth safe eliminator modeAlon Zakai
2012-10-27flip associative binaries when safe to do so for elimination purposesAlon Zakai
2012-10-27eliminate into returnsAlon Zakai
2012-10-27eliminator docsAlon Zakai
2012-10-27eliminate into one-time do-while loopsAlon Zakai
2012-10-27note function arguments as localsAlon Zakai
2012-10-27add more aborting nodes in eliminatorAlon Zakai
2012-10-27abort scanning on unfamiliar eliminator nodesAlon Zakai
2012-10-27do not scan into whileAlon Zakai
2012-10-27handle more nodes in eliminator scanningAlon Zakai
2012-10-27ignore return in eliminatorAlon Zakai
2012-10-27support seq in eliminatorAlon Zakai
2012-10-27only invalidate calls when reading a globalAlon Zakai
2012-10-26invalidate by dep in varsAlon Zakai
2012-10-26partial rewrite for v3 of eliminator aka expressionizerAlon Zakai
2012-10-26ignore previously-generated empty toplevels in eliminator, which happens when...Alon Zakai
2012-10-26do not emit multiple EMSCRIPTEN_GENERATED_FUNCTION markers in split js filesAlon Zakai
2012-10-26fail on trying to split up js optimizer on unGlobalizeAlon Zakai
2012-10-26eliminator todoAlon Zakai
2012-10-26be careful about tracking when there is a var multiple with a callAlon Zakai
2012-10-26invalidate call elimination when we see something it might modify (a global o...Alon Zakai
2012-10-25eliminate (carefully) into and through ifsAlon Zakai
2012-10-25move dep invalidations clearing to correct positionAlon Zakai
2012-10-25invalidate elimination by dependencies after the current lineAlon Zakai
2012-10-25track dependencies of variables we might eliminateAlon Zakai
2012-10-25do not eliminate into the body/else of if - this is rarely important, and req...Alon Zakai
2012-10-25fix handling of unremovable unused varsAlon Zakai
2012-10-25variables with no uses cannot be removed if their definition has side effectsAlon Zakai
2012-10-25eliminate in if nodesAlon Zakai
2012-10-25remove var x; of completely unused vars, and restore previous test casesAlon Zakai
2012-10-25rewrite of eliminator to better approachAlon Zakai
2012-10-24note 'seq' (x,y,z) nodes as modifying control flow and invalidating eliminationAlon Zakai
2012-10-23fix eliminator bug where X[y] would take X into account for variable effects,...Alon Zakai
2012-10-23include eliminator as js optimizer passAlon Zakai
2012-10-23remove unneeded js optimizer re-parseAlon Zakai
2012-10-20implement simplifyZeroComp js optimizer pass, not yet executedAlon Zakai
2012-09-25add workaround for older node versionsAlon Zakai
2012-09-25Support loading emscripten argument filenames with relative pathsChad Austin
2012-09-05Bitshift optimizer anticipates fns with switchesBenjamin Stover
2012-07-06unused << >> optimization in js optimizerAlon Zakai
2012-07-04pass the eliminator the filename to avoid OS-specific issues with reading fro...Alon Zakai
2012-05-17do not registerize with switches presentAlon Zakai
2012-05-16fix js optimizer bug with not emitting a ';' that lead to joined instructionsAlon Zakai
2012-05-16fix registerize bug with freeing variables from the wrong loopsAlon Zakai
2012-05-16bugfix in registerizeAlon Zakai
2012-05-16properly lock variables to loops in registerizeAlon Zakai