Fold I2L with ICONST_n when beneficial

ICONST_0; I2L -> LCONST_0
ICONST_1; I2L -> LCONST_1
This commit is contained in:
Dmitry Petrov
2017-07-07 13:45:55 +03:00
parent ad80c3cd7f
commit aa7db727ba
5 changed files with 19 additions and 4 deletions
@@ -7,5 +7,5 @@ fun testLongWithCharSequence(i: Long, cs: CharSequence) = i in cs.indices
// 0 getIndices
// 0 contains
// 2 length
// 2 I2L
// 1 I2L