-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from AjayBrahmakshatriya/master
Added support for with_name with deferred_init and disabled hoisting …
- Loading branch information
Showing
10 changed files
with
112 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,49 @@ | ||
int isEven (int arg0) { | ||
int var1; | ||
if (arg0 == 0) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 1) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 2) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 3) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 4) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 5) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 6) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 7) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 8) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 9) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 10) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 11) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 12) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 13) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 14) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
void foo (void) { | ||
int obj_0; | ||
int x_1 = 0; | ||
if (x_1) { | ||
obj_0 = 1; | ||
int member_var; | ||
int x_0 = 0; | ||
if (x_0) { | ||
member_var = 1; | ||
} else { | ||
obj_0 = 2; | ||
member_var = 2; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 0; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 0; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 1; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 1; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 2; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 2; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 3; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 3; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 4; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 4; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 5; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 5; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 6; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 6; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 7; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 7; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 8; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 8; | ||
} | ||
if ((obj_0 % 2) == 0) { | ||
obj_0 = obj_0 + 9; | ||
if ((member_var % 2) == 0) { | ||
member_var = member_var + 9; | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,49 @@ | ||
int isEven (int arg0) { | ||
int var1; | ||
if (arg0 == 0) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 1) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 2) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 3) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 4) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 5) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 6) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 7) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 8) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 9) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 10) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 11) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 12) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
if (arg0 == 13) { | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
if (arg0 == 14) { | ||
var1 = 1; | ||
return var1; | ||
return 1; | ||
} | ||
var1 = 0; | ||
return var1; | ||
return 0; | ||
} | ||
|
Oops, something went wrong.