Control-Flow: Generate mark instruction before the call/unresolved call instruction
#KT-7663 In Progress
This commit is contained in:
@@ -440,8 +440,8 @@ public class JetControlFlowProcessor {
|
|||||||
if (right != null) {
|
if (right != null) {
|
||||||
generateInstructions(right);
|
generateInstructions(right);
|
||||||
}
|
}
|
||||||
createNonSyntheticValue(expression, MagicKind.UNRESOLVED_CALL, left, right);
|
|
||||||
mark(expression);
|
mark(expression);
|
||||||
|
createNonSyntheticValue(expression, MagicKind.UNRESOLVED_CALL, left, right);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void visitAssignment(
|
private void visitAssignment(
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ L0:
|
|||||||
r(0) -> <v2>
|
r(0) -> <v2>
|
||||||
magic[UNRESOLVED_CALL](a[0]|<v1>, <v2>) -> <v3>
|
magic[UNRESOLVED_CALL](a[0]|<v1>, <v2>) -> <v3>
|
||||||
r(1) -> <v4>
|
r(1) -> <v4>
|
||||||
magic[UNRESOLVED_CALL](a[0] += 1|<v3>, <v4>) -> <v5>
|
|
||||||
mark(a[0] += 1)
|
mark(a[0] += 1)
|
||||||
|
magic[UNRESOLVED_CALL](a[0] += 1|<v3>, <v4>) -> <v5>
|
||||||
L1:
|
L1:
|
||||||
1 <END> NEXT:[<SINK>]
|
1 <END> NEXT:[<SINK>]
|
||||||
error:
|
error:
|
||||||
|
|||||||
Reference in New Issue
Block a user