Devirtualization: more readable debug output
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ internal object Devirtualization {
|
|||||||
private fun DataFlowIR.Type.resolved(): DataFlowIR.Type.Declared {
|
private fun DataFlowIR.Type.resolved(): DataFlowIR.Type.Declared {
|
||||||
if (this is DataFlowIR.Type.Declared) return this
|
if (this is DataFlowIR.Type.Declared) return this
|
||||||
val hash = (this as DataFlowIR.Type.External).hash
|
val hash = (this as DataFlowIR.Type.External).hash
|
||||||
return externalModulesDFG.publicTypes[hash] ?: error("Unable to resolve exported type $hash")
|
return externalModulesDFG.publicTypes[hash] ?: error("Unable to resolve exported type $this")
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun DataFlowIR.FunctionSymbol.resolved(): DataFlowIR.FunctionSymbol {
|
private fun DataFlowIR.FunctionSymbol.resolved(): DataFlowIR.FunctionSymbol {
|
||||||
|
|||||||
Reference in New Issue
Block a user