Debugger, BE: Make the NOP instruction optimizer save the first NOP, not the last

This commit fixes the following tests:
 - KotlinSteppingTestGenerated.StepOver#testSoInlineLibFun
 - KotlinSteppingTestGenerated.StepOver#testSoInlineIterableFun
 - KotlinSteppingTestGenerated.StepOver#testSoInlineFunOnOneLineFor
This commit is contained in:
Yan Zhulanow
2019-11-28 03:46:42 +09:00
parent 9cba72d5dd
commit 8b17718086
2 changed files with 5 additions and 5 deletions
@@ -10,4 +10,4 @@ inline fun lookAtMe(f: (String) -> Unit) {
f(a) // Should be no unneeded nops on this line, that might be generated for zero-parameters lambda
}
// 3 NOP
// 2 NOP