JVM_IR: Add returns unit marker if suspend call returns unit

This commit is contained in:
Ilmir Usmanov
2019-12-19 19:54:57 +01:00
parent 1911cbb077
commit 4ef2ecf9a9
4 changed files with 18 additions and 7 deletions
@@ -423,7 +423,7 @@ internal fun addReturnsUnitMarkerIfNecessary(v: InstructionAdapter, resolvedCall
}
}
private fun addReturnsUnitMarker(v: InstructionAdapter) {
fun addReturnsUnitMarker(v: InstructionAdapter) {
v.emitInlineMarker(INLINE_MARKER_RETURNS_UNIT)
}