Typo fixed

This commit is contained in:
Konstantin Anisimov
2017-02-06 16:29:42 +07:00
parent 27de5850d9
commit 17c3f9fd86
@@ -1518,7 +1518,7 @@ internal class CodeGeneratorVisitor(val context: Context) : IrElementVisitorVoid
}
// It is local return.
if (KotlinBuiltIns.isUnit(inlineBody.type) == false) { // If function returns more then "unit"
codegen.assignPhis(getResult()!! to value!!) // Assign return value to resilt PHI node
codegen.assignPhis(getResult()!! to value!!) // Assign return value to result PHI node.
}
codegen.br(getExit()!!) // Generate branch on exit block.
}