aboutsummaryrefslogtreecommitdiff
path: root/test/reduce.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/reduce.js')
-rw-r--r--test/reduce.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/reduce.js b/test/reduce.js
index bcb30fe8..d0797f8a 100644
--- a/test/reduce.js
+++ b/test/reduce.js
@@ -211,6 +211,11 @@ module.exports = function reduce_test(testcase, minify_options, reduce_options)
node.alternative,
][ ((node.start._permute += step) * steps | 0) % 3 ];
}
+ else if (node instanceof U.AST_DefaultValue) {
+ node.start._permute++;
+ CHANGED = true;
+ return node.name;
+ }
else if (node instanceof U.AST_Defun) {
switch (((node.start._permute += step) * steps | 0) % 2) {
case 0: