diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt index caf856e0657..c450f4eb5ad 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt @@ -53,8 +53,7 @@ class FunctionCodegen(private val irFunction: IrFunction, private val classCodeg private fun doGenerate() { val signature = classCodegen.typeMapper.mapSignatureWithGeneric(descriptor, OwnerKind.IMPLEMENTATION) - val isStatic = isStaticMethod(OwnerKind.getMemberOwnerKind(classCodegen.descriptor), descriptor) || - DescriptorUtils.isStaticDeclaration(descriptor) + val isStatic = DescriptorUtils.isStaticDeclaration(descriptor) val frameMap = createFrameMapWithReceivers(classCodegen.state, descriptor, signature, isStatic)