cascade : !false_by_default,
side_effects : !false_by_default,
screw_ie8 : false,
- drop_unused : !false_by_default,
warnings : true,
global_defs : {}
before: function(node, descend, in_list) {
if (node._squeezed) return node;
if (node instanceof AST_Scope) {
- if (this.options.drop_unused) node.drop_unused(this);
+ node.drop_unused(this);
node = node.hoist_declarations(this);
}
descend(node, this);
// no point to repeat warnings.
var save_warnings = this.options.warnings;
this.options.warnings = false;
- if (this.options.drop_unused) node.drop_unused(this);
+ node.drop_unused(this);
this.options.warnings = save_warnings;
}
node._squeezed = true;