[JVM] Fix the nop removal optimization.

Never remove a nop if that would cause a line number to move
across a local lifetime boundary.

This fixes KT-42725.
This commit is contained in:
Mads Ager
2020-10-16 14:52:26 +02:00
committed by Dmitry Petrov
parent 69127445a3
commit 0505bd958a
4 changed files with 18 additions and 27 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
LineBreakpoint created at stepOverInlinedLambdaStdlib.kt:5
Run Java
Connected to the target VM