This commit is contained in:
Valentin Kipyatkov
2020-04-12 23:46:45 +03:00
parent 9624f8afa3
commit bf79c3f279
@@ -177,7 +177,6 @@ class OutflowSlicer(
if (function.isImplicitInvokeFunction()) {
val receiverPseudoValue = instruction.receiverValues.entries.singleOrNull()?.key
?: return@processPseudocodeUsages
if (receiverPseudoValue.createdAt != null) {
when (val createdAt = receiverPseudoValue.createdAt) {
is ReadValueInstruction -> {
val accessedDescriptor = createdAt.target.accessedDescriptor ?: return@processPseudocodeUsages
@@ -198,7 +197,6 @@ class OutflowSlicer(
}
}
}
}
is ReturnValueInstruction -> {
val subroutine = instruction.subroutine