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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user