rewrite handle_if_return
optimizations of if/return/continue seem to be even better now
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user