[IR] Optimize a few hot spots to reduce total CPU time
^KT-61121
This commit is contained in:
@@ -105,6 +105,9 @@ fun BaseKotlinLibrary.unresolvedDependencies(lenient: Boolean = false): List<Unr
|
||||
manifestProperties.propertyList(KLIB_PROPERTY_DEPENDS, escapeInQuotes = true)
|
||||
.map { UnresolvedLibrary(it, manifestProperties.getProperty("dependency_version_$it"), lenient = lenient) }
|
||||
|
||||
val BaseKotlinLibrary.hasDependencies: Boolean
|
||||
get() = !manifestProperties.getProperty(KLIB_PROPERTY_DEPENDS).isNullOrBlank()
|
||||
|
||||
interface KotlinLibrary : BaseKotlinLibrary, MetadataLibrary, IrLibrary
|
||||
|
||||
// TODO: should we move the below ones to Native?
|
||||
|
||||
Reference in New Issue
Block a user