[FIR] Add supprot of InvocationKind.UNKNOWN for in-place lambdas
This commit is contained in:
+4
@@ -77,6 +77,10 @@ class ControlFlowGraphBuilder {
|
|||||||
when (invocationKind) {
|
when (invocationKind) {
|
||||||
InvocationKind.AT_LEAST_ONCE -> addEdge(exitNode, enterNode)
|
InvocationKind.AT_LEAST_ONCE -> addEdge(exitNode, enterNode)
|
||||||
InvocationKind.AT_MOST_ONCE -> addEdge(enterNode, exitNode)
|
InvocationKind.AT_MOST_ONCE -> addEdge(enterNode, exitNode)
|
||||||
|
InvocationKind.UNKNOWN -> {
|
||||||
|
addEdge(exitNode, enterNode)
|
||||||
|
addEdge(enterNode, exitNode)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
functionExitNodes.push(exitNode)
|
functionExitNodes.push(exitNode)
|
||||||
|
|||||||
Reference in New Issue
Block a user