[IR] Remove FunctionDescriptor from IrCall-like node's constructor interface
This commit is contained in:
+1
-2
@@ -226,8 +226,7 @@ interface IrBuilderExtension {
|
||||
+IrDelegatingConstructorCallImpl(
|
||||
startOffset, endOffset,
|
||||
compilerContext.irBuiltIns.unitType,
|
||||
compilerContext.externalSymbols.referenceConstructor(anyConstructor),
|
||||
anyConstructor
|
||||
compilerContext.externalSymbols.referenceConstructor(anyConstructor)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
+2
-4
@@ -119,8 +119,7 @@ class SerializableIrGenerator(
|
||||
startOffset,
|
||||
endOffset,
|
||||
compilerContext.irBuiltIns.unitType,
|
||||
ctorRef,
|
||||
suitableCtor
|
||||
ctorRef
|
||||
)
|
||||
call.insertTypeArgumentsForSuperClass(superClass)
|
||||
+call
|
||||
@@ -152,8 +151,7 @@ class SerializableIrGenerator(
|
||||
startOffset,
|
||||
endOffset,
|
||||
compilerContext.irBuiltIns.unitType,
|
||||
superCtorRef,
|
||||
superCtorRef.owner.descriptor
|
||||
superCtorRef
|
||||
)
|
||||
arguments.forEachIndexed { index, parameter -> call.putValueArgument(index, irGet(parameter)) }
|
||||
call.insertTypeArgumentsForSuperClass(superClass)
|
||||
|
||||
Reference in New Issue
Block a user