mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
DUP_X1; POP = SWAP p1_a; p1_b; SWAP = p1_b; p1_a where p1_a, p1_b are instructions without side effects pushing value of size 1 on stack. E.g.: ACONST_NULL; ALOAD 0; SWAP = ALOAD 0; ACONST_NULL NOP; NOP = NOP
7 lines
103 B
Kotlin
Vendored
7 lines
103 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
fun testPrimitiveArray(ints: IntArray) =
|
|
10 in ints.indices
|
|
|
|
// 0 DUP
|
|
// 0 POP |