Inline preevaluated string and primitive only constants in compilation time, don't inline const references in non-annotation context, fix for KT-11025: Don't inline const val in compare instuctions

#KT-11025 Fixed
This commit is contained in:
Michael Bogdanov
2016-02-16 15:50:44 +03:00
parent 7c2920febe
commit 8835b0599a
15 changed files with 203 additions and 15 deletions
@@ -0,0 +1,6 @@
fun box(): String {
return "O" + "K".toString() + 1.toLong()
}
// 1 LDC "OK1"
// 1 LDC