[KLIB] Add a reliable mechanism to check if KLIB has IR inside
^KT-62341
This commit is contained in:
committed by
Space Team
parent
4b2776e126
commit
f276fe6506
+1
@@ -26,6 +26,7 @@ import org.jetbrains.kotlin.library.impl.*
|
||||
class ICData(val icData: List<SerializedIrFile>, val containsErrorCode: Boolean)
|
||||
|
||||
class ICKotlinLibrary(private val icData: List<SerializedIrFile>) : IrLibrary {
|
||||
override val hasIr get() = true
|
||||
override val dataFlowGraph: ByteArray? = null
|
||||
|
||||
private inline fun <K, R : IrTableReader<K>> Array<R?>.itemBytes(fileIndex: Int, key: K, factory: () -> R): ByteArray {
|
||||
|
||||
Reference in New Issue
Block a user