Noinline main function also in case of no location debuginfo

Merge-request: KT-MR-6868
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2022-08-16 14:37:17 +00:00
committed by Space
parent 626ebb7c7e
commit 62707c9a89
@@ -183,9 +183,9 @@ private fun mustNotInline(context: Context, irFunction: IrFunction): Boolean {
// To simplify skipping this constructor when scanning call stack in Kotlin_getCurrentStackTrace.
return true
}
if (irFunction.symbol == context.ir.symbols.entryPoint) {
return true
}
}
if (irFunction.symbol == context.ir.symbols.entryPoint) {
return true
}
return false