CFA: additional jumps to catch / finally generated in the end of try / before exits from try #KT-5469 Fixed
Also #KT-13612 Fixed (cherry picked from commit 7c188b3)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
43954699a7
commit
f8039249c6
@@ -24,7 +24,9 @@ L0:
|
||||
3 mark({ foo() })
|
||||
mark(foo())
|
||||
call(foo(), foo) -> <v1>
|
||||
2 jmp(L4) USE: in: {} out: {}
|
||||
2 jmp?(L2)
|
||||
jmp?(L3)
|
||||
jmp(L4) USE: in: {} out: {}
|
||||
L2 [onException]:
|
||||
3 v(e: Exception) INIT: in: {} out: {e=D}
|
||||
magic[FAKE_INITIALIZER](e: Exception) -> <v2> INIT: in: {e=D} out: {e=D}
|
||||
@@ -59,4 +61,4 @@ error:
|
||||
<ERROR>
|
||||
sink:
|
||||
<SINK> USE: in: {} out: {}
|
||||
=====================
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user