refactored conditional jump generation to enable and/or generation

This commit is contained in:
Dmitry Jemerov
2011-04-08 19:52:55 +02:00
parent 6c1bda7f5a
commit b74bdb9cfd
5 changed files with 100 additions and 92 deletions
-1
View File
@@ -1 +0,0 @@
fun foo(b: Boolean): Int { return if (b) 15 else 20 }
-4
View File
@@ -1,4 +0,0 @@
fun foo(b: Boolean) : Int {
if (b) return 15;
return 20;
}