aboutsummaryrefslogtreecommitdiff
path: root/lib/scope.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/scope.js')
-rw-r--r--lib/scope.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/scope.js b/lib/scope.js
index eebedfd8..d87a54d8 100644
--- a/lib/scope.js
+++ b/lib/scope.js
@@ -329,7 +329,6 @@ AST_Symbol.DEFMETHOD("global", function(){
AST_Toplevel.DEFMETHOD("mangle_names", function(options){
options = defaults(options, {
- sort : false,
except : []
});
// We only need to mangle declaration nodes. Special logic wired
@@ -368,11 +367,6 @@ AST_Toplevel.DEFMETHOD("mangle_names", function(options){
}
});
this.walk(tw);
-
- if (options.sort) to_mangle = mergeSort(to_mangle, function(a, b){
- return b.references.length - a.references.length;
- });
-
to_mangle.forEach(function(def){ def.mangle(options) });
});