Generate accessors for super calls if necessary

Current implementation of calls with super qualifier relies on
invokespecial, which has some more constraints than regular virtual
invocations. When those constraints aren't met, accessors are needed.
This commit is contained in:
Ting-Yuan Huang
2019-04-09 10:49:57 -07:00
committed by max-kammerer
parent c90e6c1f18
commit 1c3b895fc0
26 changed files with 73 additions and 51 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
interface T {
open fun baz(): String = "T.baz"
}