[native] Drop deprecated Kotlin/Native targets (2/8)
Remove plain references to removed KonanTarget or Family entries. All the changes in this commit are simple removal of some when-branches on now dropped entries ^KT-64517
This commit is contained in:
committed by
Space Team
parent
0f05ffe111
commit
85bcc8443d
+1
-5
@@ -63,10 +63,6 @@ class DarwinX86AbiInfo : ObjCAbiInfo {
|
||||
|
||||
class DarwinArm32AbiInfo(private val target: KonanTarget) : ObjCAbiInfo {
|
||||
override fun shouldUseStret(returnType: Type): Boolean = when (target) {
|
||||
KonanTarget.IOS_ARM32 -> when (returnType) {
|
||||
is RecordType -> !returnType.isIntegerLikeType()
|
||||
else -> false
|
||||
}
|
||||
// 32-bit watchOS uses armv7k which is effectively Cortex-A7 and
|
||||
// uses AAPCS16 VPF.
|
||||
KonanTarget.WATCHOS_ARM32 -> when (returnType) {
|
||||
@@ -147,4 +143,4 @@ private fun Type.hasUnalignedMembers(): Boolean = when (this) {
|
||||
else -> false
|
||||
|
||||
// TODO: should the recursive checks be made in indexer when computing `hasUnalignedFields`?
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user