IR: Refactor IrBuiltIns to abstract it from descriptors

This commit is contained in:
Ilya Chernikov
2021-04-28 13:43:14 +02:00
committed by TeamCityServer
parent 25d2e61a82
commit dee0487185
124 changed files with 1231 additions and 970 deletions
@@ -274,7 +274,7 @@ class ComposeLikeDefaultArgumentRewriter(
}
private fun IrType.binaryOperator(name: Name, paramType: IrType): IrFunctionSymbol =
context.symbols.getBinaryOperator(name, this, paramType)
context.irBuiltIns.getBinaryOperator(name, this, paramType)
private fun irAnd(lhs: IrExpression, rhs: IrExpression): IrCallImpl {
return irCall(