rewrite handle_if_return

optimizations of if/return/continue seem to be even better now
This commit is contained in:
Mihai Bazon
2012-09-16 15:46:20 +03:00
parent 397bf56d25
commit 7b6a402916
4 changed files with 194 additions and 30 deletions

View File

@@ -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();
}
}
}