diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrSourceCompilerForInline.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrSourceCompilerForInline.kt index 603f60bf20b..02a2b306e23 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrSourceCompilerForInline.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/IrSourceCompilerForInline.kt @@ -95,13 +95,8 @@ class IrSourceCompilerForInline( asmMethod: Method ): SMAPAndMethodNode { assert(callableDescriptor == callee.descriptor.original) { "Expected $callableDescriptor got ${callee.descriptor.original}" } - assert(codegen.lastLineNumber >= 0) { "lastLineNumber shall be not negative, but is ${codegen.lastLineNumber}" } - val irFunction = getFunctionToInline(jvmSignature, callDefault) - lazySourceMapper.callSiteMarker = CallSiteMarker(codegen.lastLineNumber) - val nodeAndSmap = makeInlineNode(irFunction, FakeClassCodegen(irFunction, codegen.classCodegen), false) - lazySourceMapper.callSiteMarker = null - return nodeAndSmap + return makeInlineNode(irFunction, FakeClassCodegen(irFunction, codegen.classCodegen), false) } private fun getFunctionToInline(jvmSignature: JvmMethodSignature, callDefault: Boolean): IrFunction { diff --git a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt index 50c380afd81..473b4ba12ce 100644 --- a/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt +++ b/compiler/testData/codegen/box/coroutines/featureIntersection/callableReference/longArgs.kt @@ -1,4 +1,3 @@ -// IGNORE_BACKEND: JVM_IR // WITH_COROUTINES // WITH_RUNTIME