Updated tests for control flow: call instruction stores call element
instead of callee expression
This commit is contained in:
@@ -9,13 +9,13 @@ fun test() : Unit {
|
||||
}
|
||||
}
|
||||
---------------------
|
||||
<v1>: {<: Exception} NEW: magic(any : Exception) -> <v1>
|
||||
test() <v0>: * NEW: call(test, test) -> <v0>
|
||||
{ test() } <v0>: * COPY
|
||||
test() <v2>: * NEW: call(test, test) -> <v2>
|
||||
{ test() } <v2>: * COPY
|
||||
test() <v3>: * NEW: call(test, test) -> <v3>
|
||||
{ test() } <v3>: * COPY
|
||||
<v1>: {<: Exception} NEW: magic(any : Exception) -> <v1>
|
||||
test() <v0>: * NEW: call(test(), test) -> <v0>
|
||||
{ test() } <v0>: * COPY
|
||||
test() <v2>: * NEW: call(test(), test) -> <v2>
|
||||
{ test() } <v2>: * COPY
|
||||
test() <v3>: * NEW: call(test(), test) -> <v3>
|
||||
{ test() } <v3>: * COPY
|
||||
try { test() } catch (any : Exception) { test() } finally { test() } <v4>: * NEW: merge(try { test() } catch (any : Exception) { test() } finally { test() }|<v0>, <v2>) -> <v4>
|
||||
{ try { test() } catch (any : Exception) { test() } finally { test() } } <v4>: * COPY
|
||||
=====================
|
||||
{ try { test() } catch (any : Exception) { test() } finally { test() } } <v4>: * COPY
|
||||
=====================
|
||||
Reference in New Issue
Block a user