aboutsummaryrefslogtreecommitdiff
path: root/lib/compress.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compress.js')
-rw-r--r--lib/compress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compress.js b/lib/compress.js
index 33aa5b91..0718e5c7 100644
--- a/lib/compress.js
+++ b/lib/compress.js
@@ -5187,7 +5187,7 @@ merge(Compressor.prototype, {
} else if ((ldef = self.variables.get(def.name)) !== def) {
if (ldef && root === segment) references[ldef.id] = false;
return references[def.id] = false;
- } else if (compressor.exposed(def) || sym.name == "arguments") {
+ } else if (compressor.exposed(def) || sym.name == "arguments" || sym.name == "await") {
return references[def.id] = false;
} else {
var refs = declarations.get(def.id) || [];