Revert "JVM_IR. Support compile time constants"

This reverts commit 055215c54f.
This commit is contained in:
Georgy Bronnikov
2018-09-25 05:24:48 +03:00
parent 055215c54f
commit 487f500f85
39 changed files with 42 additions and 35 deletions
@@ -1,4 +1,5 @@
// WITH_RUNTIME
// IGNORE_BACKEND: JVM_IR
const val M = Char.MIN_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Char.MIN_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Int.MIN_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Int.MIN_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Long.MIN_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Long.MIN_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
const val M = Char.MAX_VALUE
fun box(): String {
@@ -10,4 +11,4 @@ fun box(): String {
}
if (count != 1) throw AssertionError("Should be executed once")
return "OK"
}
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Char.MAX_VALUE
@@ -12,4 +13,4 @@ fun box(): String {
}
if (count != 1) throw AssertionError("Should be executed once")
return "OK"
}
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
const val M = Int.MAX_VALUE
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Int.MAX_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
const val M = Long.MAX_VALUE
fun box(): String {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Long.MAX_VALUE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// WITH_RUNTIME
const val M = Int.MIN_VALUE