Updated tests for control flow: call instruction stores call element

instead of callee expression
This commit is contained in:
Svetlana Isakova
2014-07-02 18:27:19 +04:00
parent 72e9822d99
commit aa26db0538
110 changed files with 1084 additions and 1084 deletions
@@ -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
=====================