Unmute some JVM_IR inlining tests

This commit is contained in:
pyos
2019-10-02 12:10:58 +02:00
committed by max-kammerer
parent a0edf2934b
commit 06c00f4d9e
44 changed files with 21 additions and 56 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
// KOTLIN_CONFIGURATION_FLAGS: ASSERTIONS_MODE=jvm
inline fun inlineMe(crossinline c : () -> Unit) = { c() }
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun test(crossinline l: () -> String) {
{
l()
@@ -1,5 +1,3 @@
// IGNORE_BACKEND: JVM_IR
class Range<T>(val min: T, val max: T)
class Sprite
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun watch(p: String, f: (String) -> Int) {
f(p)
}
@@ -1,5 +1,4 @@
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JVM_IR
// FILE: utils.kt
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun <T> runAfterLoop(fn: () -> T): T {
for (i in 1..2);
return fn()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun <T> runAfterLoop(fn: () -> T): T {
for (i in 1..2);
return fn()