[Commonizer] Create approximation keys based on Cir instead of metadata

This commit is contained in:
sebastian.sellmair
2021-07-06 10:36:24 +02:00
committed by Space
parent 09f9a1ce5b
commit f3ff9814a8
21 changed files with 356 additions and 175 deletions
@@ -85,29 +85,41 @@ expect fun functionMismatchedParameterNames29(vararg variadicArguments: Int)
expect fun functionMismatchedParameterNames30(arg0: Int, vararg variadicArguments: Int)
expect fun functionMismatchedParameterNames31(i: Int, s: String)
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames34(i: Int, s: String)
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames37(arg0: Int, arg1: String)
// hasStableParameterNames=false
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames38(i: Int, s: String)
// hasStableParameterNames=false
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames39(i: Int, s: String)
// hasStableParameterNames=false
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames40(i: Int, s: String)
// hasStableParameterNames=false
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames41(arg0: Int, arg1: String)
// hasStableParameterNames=false
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames42(arg0: Int, arg1: String)
// hasStableParameterNames=false
@kotlin.commonizer.ObjCCallable
expect fun functionMismatchedParameterNames43(arg0: Int, arg1: String)
@kotlin.commonizer.ObjCCallable
expect fun overloadedFunctionByParameterNames(i: Int, s: String)
@kotlin.commonizer.ObjCCallable
expect fun overloadedFunctionByParameterNames(xi: Int, xs: String)
expect inline fun inlineFunction1(lazyMessage: () -> String)
@@ -0,0 +1,5 @@
package kotlin.commonizer
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.BINARY)
annotation class ObjCCallable()
@@ -4,3 +4,4 @@ package kotlinx.cinterop
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER)
@Retention(AnnotationRetention.BINARY)
annotation class ObjCMethod() // fake annotation class without properties