Minor: IrTypes: fix after rebase
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ class DataClassMembersGenerator(
|
|||||||
private fun MemberFunctionBuilder.getHashCodeOf(kotlinType: KotlinType, irValue: IrExpression): IrExpression {
|
private fun MemberFunctionBuilder.getHashCodeOf(kotlinType: KotlinType, irValue: IrExpression): IrExpression {
|
||||||
val hashCodeFunctionDescriptor = getHashCodeFunction(kotlinType)
|
val hashCodeFunctionDescriptor = getHashCodeFunction(kotlinType)
|
||||||
val hashCodeFunctionSymbol = declarationGenerator.context.symbolTable.referenceFunction(hashCodeFunctionDescriptor.original)
|
val hashCodeFunctionSymbol = declarationGenerator.context.symbolTable.referenceFunction(hashCodeFunctionDescriptor.original)
|
||||||
return irCall(hashCodeFunctionSymbol, hashCodeFunctionDescriptor).apply {
|
return irCall(hashCodeFunctionSymbol, hashCodeFunctionDescriptor, context.irBuiltIns.intType).apply {
|
||||||
if (descriptor.dispatchReceiverParameter != null) {
|
if (descriptor.dispatchReceiverParameter != null) {
|
||||||
dispatchReceiver = irValue
|
dispatchReceiver = irValue
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -166,6 +166,10 @@ fun IrBuilderWithScope.irGet(type: IrType, receiver: IrExpression, getterSymbol:
|
|||||||
fun IrBuilderWithScope.irCall(callee: IrFunctionSymbol, type: IrType): IrCall =
|
fun IrBuilderWithScope.irCall(callee: IrFunctionSymbol, type: IrType): IrCall =
|
||||||
IrCallImpl(startOffset, endOffset, type, callee, callee.descriptor)
|
IrCallImpl(startOffset, endOffset, type, callee, callee.descriptor)
|
||||||
|
|
||||||
|
fun IrBuilderWithScope.irCall(callee: IrFunctionSymbol, descriptor: FunctionDescriptor, type: IrType): IrCall =
|
||||||
|
IrCallImpl(startOffset, endOffset, type, callee, descriptor)
|
||||||
|
|
||||||
|
|
||||||
fun IrBuilderWithScope.irCallOp(
|
fun IrBuilderWithScope.irCallOp(
|
||||||
callee: IrFunctionSymbol,
|
callee: IrFunctionSymbol,
|
||||||
type: IrType,
|
type: IrType,
|
||||||
|
|||||||
Reference in New Issue
Block a user