simplify conditions
This commit is contained in:
parent
7de03480d5
commit
336a034404
|
|
@ -79,9 +79,7 @@ SymbolDef.prototype = {
|
||||||
if (!options.screw_ie8 && sym instanceof AST_SymbolLambda)
|
if (!options.screw_ie8 && sym instanceof AST_SymbolLambda)
|
||||||
s = s.parent_scope;
|
s = s.parent_scope;
|
||||||
var def;
|
var def;
|
||||||
if (options.screw_ie8
|
if (this.defun && (def = this.defun.variables.get(this.name))) {
|
||||||
&& sym instanceof AST_SymbolCatch
|
|
||||||
&& (def = this.defun.variables.get(this.name))) {
|
|
||||||
this.mangled_name = def.mangled_name || def.name;
|
this.mangled_name = def.mangled_name || def.name;
|
||||||
} else
|
} else
|
||||||
this.mangled_name = s.next_mangled(options, this);
|
this.mangled_name = s.next_mangled(options, this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user