Updated tests for control flow: call instruction stores call element
instead of callee expression
This commit is contained in:
@@ -19,9 +19,9 @@ fun foobar(f: Foo) {
|
||||
}
|
||||
---------------------
|
||||
<v0>: Foo NEW: magic(f: Foo) -> <v0>
|
||||
Bar() <v2>: Bar NEW: call(Bar, <init>) -> <v2>
|
||||
Bar() <v2>: Bar NEW: call(Bar(), <init>) -> <v2>
|
||||
f <v1>: Foo NEW: r(f) -> <v1>
|
||||
f() <v3>: * NEW: call(f, invoke|<v1>, <v2>) -> <v3>
|
||||
f() <v3>: * NEW: call(f(), invoke|<v1>, <v2>) -> <v3>
|
||||
Bar().f() <v3>: * COPY
|
||||
{ Bar().f() } <v3>: * COPY
|
||||
=====================
|
||||
|
||||
Reference in New Issue
Block a user