[native] remove obsolete experimental stdlib api usage annotations
^KT-62510
This commit is contained in:
committed by
Space Team
parent
a65c735feb
commit
633c2d11e5
-1
@@ -7,7 +7,6 @@ package org.jetbrains.kotlin.backend.konan.llvm
|
|||||||
|
|
||||||
import org.jetbrains.kotlin.backend.common.serialization.cityHash64
|
import org.jetbrains.kotlin.backend.common.serialization.cityHash64
|
||||||
|
|
||||||
@OptIn(ExperimentalUnsignedTypes::class)
|
|
||||||
internal fun localHash(data: ByteArray): Long {
|
internal fun localHash(data: ByteArray): Long {
|
||||||
return cityHash64(data).toLong()
|
return cityHash64(data).toLong()
|
||||||
}
|
}
|
||||||
+1
-1
@@ -243,7 +243,7 @@ internal class PropertyDelegationLowering(val generationState: NativeGenerationS
|
|||||||
generatedClasses.add(newClass)
|
generatedClasses.add(newClass)
|
||||||
return newExpression as IrConstantValue
|
return newExpression as IrConstantValue
|
||||||
}
|
}
|
||||||
return irConstantObject(clazz, @OptIn(ExperimentalStdlibApi::class) buildMap {
|
return irConstantObject(clazz, buildMap {
|
||||||
put("name", irConstantPrimitive(name))
|
put("name", irConstantPrimitive(name))
|
||||||
put("getter", getterCallableReference.convert())
|
put("getter", getterCallableReference.convert())
|
||||||
if (setterCallableReference != null) {
|
if (setterCallableReference != null) {
|
||||||
|
|||||||
+1
-2
@@ -878,7 +878,6 @@ internal object DevirtualizationAnalysis {
|
|||||||
val directEdgesCount = IntArrayList()
|
val directEdgesCount = IntArrayList()
|
||||||
val reversedEdgesCount = IntArrayList()
|
val reversedEdgesCount = IntArrayList()
|
||||||
|
|
||||||
@OptIn(ExperimentalUnsignedTypes::class)
|
|
||||||
private fun addEdge(from: Node, to: Node) {
|
private fun addEdge(from: Node, to: Node) {
|
||||||
val fromId = from.id
|
val fromId = from.id
|
||||||
val toId = to.id
|
val toId = to.id
|
||||||
@@ -1263,7 +1262,7 @@ internal object DevirtualizationAnalysis {
|
|||||||
node.constructor?.let {
|
node.constructor?.let {
|
||||||
doCall(
|
doCall(
|
||||||
it,
|
it,
|
||||||
@OptIn(ExperimentalStdlibApi::class) buildList {
|
buildList {
|
||||||
add(instanceNode)
|
add(instanceNode)
|
||||||
node.arguments?.forEach { add(edgeToConstraintNode(it)) }
|
node.arguments?.forEach { add(edgeToConstraintNode(it)) }
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user