Return a stripped version of StackValue from ExpressionCodegen

This commit is contained in:
pyos
2019-04-01 16:24:35 +02:00
committed by max-kammerer
parent c5f6be4282
commit e249c3c594
11 changed files with 349 additions and 336 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun identity(x: Int): Int {
return when {
x < 0 -> identity(x + 1) - 1