Pseudocode: Implement computation of expected type predicates

This commit is contained in:
Alexey Sedunov
2014-06-23 14:02:22 +04:00
parent 50228fa085
commit 5e2c2b4eca
87 changed files with 1154 additions and 803 deletions
@@ -9,12 +9,12 @@ fun test() : Unit {
}
}
---------------------
test() <v0> NEW()
{ test() } <v0> COPY
test() <v2> NEW()
{ test() } <v2> COPY
test() <v3> NEW()
{ test() } <v3> COPY
try { test() } catch (any : Exception) { test() } finally { test() } <v4> NEW(<v0>, <v2>)
{ try { test() } catch (any : Exception) { test() } finally { test() } } <v4> COPY
test() <v0>: * NEW()
{ test() } <v0>: * COPY
test() <v2>: * NEW()
{ test() } <v2>: * COPY
test() <v3>: * NEW()
{ test() } <v3>: * COPY
try { test() } catch (any : Exception) { test() } finally { test() } <v4>: * NEW(<v0>, <v2>)
{ try { test() } catch (any : Exception) { test() } finally { test() } } <v4>: * COPY
=====================