aboutsummaryrefslogtreecommitdiff
path: root/test/compress/functions.js
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2021-05-04 17:03:43 +0100
committerGitHub <noreply@github.com>2021-05-05 00:03:43 +0800
commitd464be3f3f7ef91c7083e16210cc7d1b8a337816 (patch)
tree9841ea9c77ec60ac29328edb1657a5ad8131e057 /test/compress/functions.js
parent3094eaaa89b3993051e307804dd5daee1cf7146a (diff)
downloadtracifyjs-d464be3f3f7ef91c7083e16210cc7d1b8a337816.tar.gz
tracifyjs-d464be3f3f7ef91c7083e16210cc7d1b8a337816.zip
fix corner case in `collapse_vars` (#4911)
fixes #4910
Diffstat (limited to 'test/compress/functions.js')
-rw-r--r--test/compress/functions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compress/functions.js b/test/compress/functions.js
index baab29d2..5713a37b 100644
--- a/test/compress/functions.js
+++ b/test/compress/functions.js
@@ -6107,7 +6107,7 @@ reduce_cross_reference_2: {
reduce_cross_reference_2_toplevel: {
options = {
collapse_vars: true,
- passes: 3,
+ passes: 2,
pure_getters: "strict",
reduce_vars: true,
sequences: true,
@@ -6150,7 +6150,7 @@ reduce_cross_reference_3: {
reduce_cross_reference_3_toplevel: {
options = {
collapse_vars: true,
- passes: 3,
+ passes: 2,
pure_getters: "strict",
reduce_vars: true,
sequences: true,