JVM_IR: Generate fake inlining local variables for debugging.

This commit is contained in:
Mads Ager
2019-11-28 15:10:09 +01:00
committed by max-kammerer
parent fa8cb7b6e0
commit e2a1cb1077
9 changed files with 109 additions and 10 deletions

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun <R, T> foo(x : R, y : R, block : (R, R) -> T) : T {
return block(x, y)

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun test() {
val a = inlineFunInt { 1 }
val b = simpleFunInt { 1 }

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
interface ApplicationCall

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
fun box() {
lookAtMe {

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun <reified T> foo(default: T): T {
var t: T

View File

@@ -1,5 +1,3 @@
// IGNORE_BACKEND: JVM_IR
inline fun bar(x: Int) : Int {
return x
}