Pseudocode: Generate fake values for Unit/Nothing-typed expressions
This commit is contained in:
@@ -7,6 +7,9 @@ tailRecursive fun test() : Int {
|
||||
}
|
||||
}
|
||||
---------------------
|
||||
test() <v0>: * NEW: call(test(), test) -> <v0>
|
||||
{ test() } <v0>: * COPY
|
||||
=====================
|
||||
{ // do nothing } !<v1>: *
|
||||
test() <v0>: * NEW: call(test(), test) -> <v0>
|
||||
{ test() } <v0>: * COPY
|
||||
try { // do nothing } finally { test() } !<v1>: * COPY
|
||||
{ try { // do nothing } finally { test() } } !<v1>: * COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user