[IR] Get rid of minor symbol.descriptor usages
This commit is contained in:
+1
-1
@@ -590,7 +590,7 @@ class ExpressionCodegen(
|
||||
val index = frameMap.getIndex(irSymbol)
|
||||
if (index >= 0)
|
||||
return index
|
||||
val dump = if (irSymbol.isBound) irSymbol.owner.dump() else irSymbol.descriptor.toString()
|
||||
val dump = if (irSymbol.isBound) irSymbol.owner.dump() else "??? unbound symbol ???"
|
||||
throw AssertionError("Non-mapped local declaration: $dump\n in ${irFunction.dump()}")
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -97,7 +97,6 @@ class IrSourceCompilerForInline(
|
||||
callDefault: Boolean,
|
||||
asmMethod: Method
|
||||
): SMAPAndMethodNode {
|
||||
assert(callableDescriptor == callee.symbol.descriptor.original) { "Expected $callableDescriptor got ${callee.descriptor.original}" }
|
||||
return ClassCodegen.getOrCreate(callee.parentAsClass, codegen.context).generateMethodNode(callee)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user