Fix compilation

This commit is contained in:
Dmitry Gridin
2020-02-14 12:51:51 +07:00
committed by Pavel Kirpichenkov
parent 1c945430bc
commit 238bfe3771
2 changed files with 2 additions and 2 deletions
@@ -47,7 +47,7 @@ abstract class AbstractIrLineNumberTest : AbstractLineNumberTest() {
}
override fun visitLabel(label: Label) {
if (lastLabel != null && !labels2LineNumbers.containsKey(lastLabel) && lastLine >= 0) {
if (lastLabel != null && !labels2LineNumbers.containsKey(lastLabel!!) && lastLine >= 0) {
labels2LineNumbers[lastLabel!!] = lastLine.toString() // Inherited line number
}
lastLabel = label