Update bytecode text tests for JVM_IR
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36648 Captured variables not optimized in JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(): java.lang.Integer {
|
||||
val c: java.lang.Integer
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
import kotlin.contracts.ExperimentalContracts
|
||||
import kotlin.contracts.InvocationKind
|
||||
import kotlin.contracts.contract
|
||||
|
||||
+6
-2
@@ -1,5 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
import kotlin.contracts.ExperimentalContracts
|
||||
import kotlin.contracts.InvocationKind
|
||||
import kotlin.contracts.contract
|
||||
@@ -22,4 +22,8 @@ fun doIt(block: () -> Unit) {
|
||||
}
|
||||
|
||||
// 0 ISTORE 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$CharRef; L1 L3 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$CharRef; L1 L3 0
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 0 ISTORE 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$CharRef; L1 L4 0
|
||||
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
Vendored
+1
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
import kotlin.random.Random
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36648 Captured variables not optimized in JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(): UInt {
|
||||
val c: UInt
|
||||
|
||||
+2
@@ -1,4 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36648 Captured variables not optimized in JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(): UInt {
|
||||
var c: UInt
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36648 Captured variables not optimized in JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(): Char {
|
||||
lateinit var c: Any
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36648 Captured variables not optimized in JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(): Char {
|
||||
val c: Char
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(): Char {
|
||||
val c: Char
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(): Char {
|
||||
var c: Char
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(i: Int): Char {
|
||||
val c: Char
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// TODO KT-36812 Generate proper lifetime intervals for local variables in JVM_IR
|
||||
|
||||
fun test(i: Int): Char {
|
||||
var c: Char
|
||||
|
||||
Reference in New Issue
Block a user