[IR] Simplify IrFileImpl and IrExternalPackageFragment
#KT-65773 In Progress
This commit is contained in:
committed by
Space Team
parent
16ae7651a2
commit
943be239ee
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@@ -27,7 +27,6 @@ import org.jetbrains.kotlin.ir.UNDEFINED_OFFSET
|
||||
import org.jetbrains.kotlin.ir.builders.declarations.IrFunctionBuilder
|
||||
import org.jetbrains.kotlin.ir.builders.declarations.addValueParameter
|
||||
import org.jetbrains.kotlin.ir.declarations.*
|
||||
import org.jetbrains.kotlin.ir.declarations.impl.IrExternalPackageFragmentImpl
|
||||
import org.jetbrains.kotlin.ir.expressions.IrConstructorCall
|
||||
import org.jetbrains.kotlin.ir.expressions.impl.IrConstructorCallImpl
|
||||
import org.jetbrains.kotlin.ir.symbols.*
|
||||
@@ -607,7 +606,7 @@ class IrBuiltInsOverFir(
|
||||
}
|
||||
|
||||
private fun createPackage(fqName: FqName): IrExternalPackageFragment =
|
||||
IrExternalPackageFragmentImpl.createEmptyExternalPackageFragment(moduleDescriptor, fqName)
|
||||
createEmptyExternalPackageFragment(moduleDescriptor, fqName)
|
||||
|
||||
private fun IrDeclarationParent.createFunction(
|
||||
name: String,
|
||||
|
||||
Reference in New Issue
Block a user