Speedup unused compress option for already minified code
Fixes: #321 #917 #1022
This commit is contained in:
@@ -53,8 +53,11 @@ function SymbolDef(scope, index, orig) {
|
||||
this.undeclared = false;
|
||||
this.constant = false;
|
||||
this.index = index;
|
||||
this.id = SymbolDef.next_id++;
|
||||
};
|
||||
|
||||
SymbolDef.next_id = 1;
|
||||
|
||||
SymbolDef.prototype = {
|
||||
unmangleable: function(options) {
|
||||
if (!options) options = {};
|
||||
|
||||
Reference in New Issue
Block a user