[IR] Allow fast reference path in SymbolTable for wrapped descriptors
This commit is contained in:
@@ -203,10 +203,14 @@ open class SymbolTable(
|
|||||||
} else {
|
} else {
|
||||||
descriptorToSymbol[d]
|
descriptorToSymbol[d]
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (d.isBound()) {
|
||||||
|
((d.owner as? IrSymbolDeclaration<*>)?.symbol ?: descriptorToSymbol[d]) as S?
|
||||||
} else {
|
} else {
|
||||||
descriptorToSymbol[d]
|
descriptorToSymbol[d]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
override fun set(d: D, s: S) {
|
override fun set(d: D, s: S) {
|
||||||
if (s.isPublicApi) {
|
if (s.isPublicApi) {
|
||||||
|
|||||||
Reference in New Issue
Block a user