Revert "Completely rewrite reifiedIntTypeAnalysis, making it more streamline"

This reverts commit 1ed4324613.

Otherwise, bootstrap is broken.
This commit is contained in:
Ilmir Usmanov
2020-06-03 19:43:59 +02:00
parent 148f49d54a
commit 822c14814b
20 changed files with 226 additions and 478 deletions
@@ -1,29 +0,0 @@
// KJS_WITH_FULL_RUNTIME
// WITH_RUNTIME
// WITH_COROUTINES
// COMMON_COROUTINES_TEST
import helpers.*
import COROUTINES_PACKAGE.*
import COROUTINES_PACKAGE.intrinsics.*
fun foo() {
bar {
val p = false
baz(p, "".ifEmpty { "OK" })
}
}
var res = "FAIL"
fun bar(f: suspend () -> Unit) {
f.startCoroutine(EmptyContinuation)
}
fun baz(p: Boolean, s: String?) {
res = s!!
}
fun box(): String {
foo()
return res
}