aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2012-09-16 15:46:20 +0300
committerMihai Bazon <mihai@bazon.net>2012-09-16 15:46:20 +0300
commit7b6a402916fe697049c38f6ee89c644fcf93c8d4 (patch)
tree2bf8a1ba4d2449ec26d688438e153b61f13f909a /test
parent397bf56d2597d4c2849e380e103b92b87303785f (diff)
downloadtracifyjs-7b6a402916fe697049c38f6ee89c644fcf93c8d4.tar.gz
tracifyjs-7b6a402916fe697049c38f6ee89c644fcf93c8d4.zip
rewrite handle_if_return
optimizations of if/return/continue seem to be even better now
Diffstat (limited to 'test')
-rw-r--r--test/compress/conditionals.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/compress/conditionals.js b/test/compress/conditionals.js
index 92e5d61b..4dc27b85 100644
--- a/test/compress/conditionals.js
+++ b/test/compress/conditionals.js
@@ -90,7 +90,9 @@ ifs_4: {
ifs_5: {
options = {
- if_return: true
+ if_return: true,
+ conditionals: true,
+ comparations: true,
};
input: {
function f() {
@@ -117,7 +119,7 @@ ifs_5: {
function g() {
if (!(foo || bar || baz || baa)) {
a();
- b()
+ b();
}
}
}