JVM_IR: Fix codegeneration for missing branches.

This used to generate an ACONST_NULL instruction leading to incorrect
stack height for code such as:

```
if (condition) else 32
```
This commit is contained in:
Mads Ager
2019-01-28 13:34:51 +01:00
committed by max-kammerer
parent 37a149b218
commit bb0cd92da0
3 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// FILE: list.kt
val intList = listOf(1, 2, 3)