JVM_IR: read inline fun bytecode to detect unused property references

I.e. optimize `$$delegatedProperties` in the same way as the old
backend. This is more reliable than trying to match bytecode.
This commit is contained in:
pyos
2021-06-21 13:43:19 +02:00
committed by Dmitry Petrov
parent bd6d96114b
commit ee4d9a89ea
6 changed files with 71 additions and 378 deletions
@@ -55,8 +55,6 @@ final class H2$Companion$property$2 {
@kotlin.Metadata
public final class H2$Companion {
// source: 'delegatedPropertiesInCompanionObject.kt'
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
static method <clinit>(): void
private method <init>(): void
public synthetic method <init>(p0: kotlin.jvm.internal.DefaultConstructorMarker): void
public final @org.jetbrains.annotations.NotNull method getProperty(): java.lang.String