aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
AgeCommit message (Expand)Author
2012-10-11cleanup...Mihai Bazon
2012-10-10drop unused variableMihai Bazon
2012-10-09minorMihai Bazon
2012-10-09add AST_Infinity nodeMihai Bazon
2012-10-09added $propdoc to AST nodes and some cleanups...Mihai Bazon
2012-10-09minor AST cleanup (AST_BlockStatement may inherit from AST_Block)Mihai Bazon
2012-10-09fix detecting symbols in useMihai Bazon
2012-10-08eliminate redundant directives in the same scopeMihai Bazon
2012-10-05minorMihai Bazon
2012-10-05replace `(function(){ ...no side effects ... })()` with `undefined`.Mihai Bazon
2012-10-04removed some unused variablesMihai Bazon
2012-10-03more cleanup (dropped AST_SwitchBlock)Mihai Bazon
2012-10-03AST cleanup (dropped AST_StatementBase)Mihai Bazon
2012-10-03added option for side-effect-free statements, fix testMihai Bazon
2012-10-03fix endless loop in testsMihai Bazon
2012-10-03fix for `a = !b && !c && !d && !e → a=!(b||c||d||e)`Mihai Bazon
2012-10-03disable `hoist_vars` by default and change `comparations` to `comparisons`Mihai Bazon
2012-10-02support definesMihai Bazon
2012-10-02"use strict";Mihai Bazon
2012-10-02more constant folding (for names defined with `const`)Mihai Bazon
2012-10-02drop more unused namesMihai Bazon
2012-10-02a shy attempt to obey `width` in the beautifier; added `bracketize` option to...Mihai Bazon
2012-09-26removed the "squeeze" method (it's now effectively "transform")Mihai Bazon
2012-09-26some speedup and more savings from unused vars that have side effects in init...Mihai Bazon
2012-09-26compressor successfully moved to TreeTransformerMihai Bazon
2012-09-26checkpoint (refactoring, WIP)Mihai Bazon
2012-09-25more cleanupsMihai Bazon
2012-09-25moving code around (refactoring, WIP)Mihai Bazon
2012-09-25started some refactoring (WIP) -- moving squeezer to TreeTransformerMihai Bazon
2012-09-25minorMihai Bazon
2012-09-25it's not safe to assume that property access is side-effect-free...Mihai Bazon
2012-09-25some boolean cleanupMihai Bazon
2012-09-23properly drop mutually-referring declarations that are not otherwise...Mihai Bazon
2012-09-22tree transformer api (WIP)Mihai Bazon
2012-09-21log filename in parse errors / compressor warningsMihai Bazon
2012-09-21more on detecting side effectsMihai Bazon
2012-09-19drop unused variablesMihai Bazon
2012-09-18support for directivesMihai Bazon
2012-09-18added AST_NaN (output as 0/0)Mihai Bazon
2012-09-17only do the typeof x == "undefined" optimization if x is a symbol reference a...Mihai Bazon
2012-09-17moved `typeof foo == "undefined"` ==> `foo === undefined` under `--unsafe`...Mihai Bazon
2012-09-17fix .undeclared (it's now a function)Mihai Bazon
2012-09-17minorMihai Bazon
2012-09-17possible optimization for AST_Undefined...Mihai Bazon
2012-09-17empty block to empty statement: {} ==> ;Mihai Bazon
2012-09-17more smallish optimizationsMihai Bazon
2012-09-17try negating AST_BinaryMihai Bazon
2012-09-16some cleanupMihai Bazon
2012-09-16more sequencesizing (WIP)Mihai Bazon
2012-09-16drop unused functionMihai Bazon