minor clean-ups (#2686)

This commit is contained in:
Alex Lam S.L
2017-12-29 14:04:52 +08:00
committed by GitHub
parent 8ca49155a8
commit d819559a01
2 changed files with 3 additions and 7 deletions

View File

@@ -3998,7 +3998,7 @@ merge(Compressor.prototype, {
}
if (defs) defs.push(arg.definition());
}
return !defs || defs.length == 0 || !is_reachable(fn.body[0], defs);
return !defs || defs.length == 0 || !is_reachable(stat, defs);
}
function flatten_args(fn) {