More aggressive DCE should honor debugger invariants
- A LINENUMEBER node is "dead" if the corresponding instruction interval contains at least one "dead" bytecode instruction and no live bytecode instructions - Observable local variable lifetimes should be taken into account when determining if a NOP is required for debugger.
This commit is contained in:
+1
-1
@@ -23,4 +23,4 @@ fun simpleFunVoid(f: () -> Unit): Unit {
|
||||
return f()
|
||||
}
|
||||
|
||||
// 4 NOP
|
||||
// 5 NOP
|
||||
|
||||
Reference in New Issue
Block a user