mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
Skip NOP instructions in fast pop backward propagation
This commit is contained in:
7
compiler/testData/codegen/bytecodeText/coercionToUnitOptimization/inRangeCheckWithConst.kt
vendored
Normal file
7
compiler/testData/codegen/bytecodeText/coercionToUnitOptimization/inRangeCheckWithConst.kt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun testPrimitiveArray(ints: IntArray) =
|
||||
10 in ints.indices
|
||||
|
||||
// 0 DUP
|
||||
// 0 POP
|
||||
Reference in New Issue
Block a user