Fix test data
This commit is contained in:
@@ -27,8 +27,8 @@ fun box(): String {
|
||||
// -- no compareTo
|
||||
// 0 compareTo
|
||||
// -- comparisons are properly fused with conditional jumps
|
||||
// comparisons: 0 + fake inline variables: 8
|
||||
// 8 ICONST_0
|
||||
// comparisons: 0 + fake inline variables: 12
|
||||
// 12 ICONST_0
|
||||
// 1 IF_ICMPGE
|
||||
// 1 IF_ICMPLE
|
||||
// 4 LCMP
|
||||
|
||||
Vendored
+2
-2
@@ -19,8 +19,8 @@ fun box(): String {
|
||||
|
||||
|
||||
// Shared variable slots (x1, x2):
|
||||
// 4 ILOAD 2
|
||||
// 4 ISTORE 2
|
||||
// 4 ILOAD 6
|
||||
// 4 ISTORE 6
|
||||
|
||||
// Temporary variable slots for 'x2++' + store to fake index:
|
||||
// 0 ILOAD 1
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ fun main(args: Array<String>) {
|
||||
@BuilderInference
|
||||
suspend fun SequenceScope<Int>.awaitSeq(): Int = 42
|
||||
|
||||
// 1 LOCALVARIABLE a I L19 L23 3
|
||||
// 1 LOCALVARIABLE a I L19 L.* 3
|
||||
// 1 LINENUMBER 8 L19
|
||||
// Adding ignore flags below the test since the test relies on line numbers.
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
@@ -7,4 +7,4 @@ fun f() {
|
||||
|
||||
// 1 ISTORE 0\s+L3
|
||||
// 1 ILOAD 0\s+INVOKEVIRTUAL java/io/PrintStream.print \(C\)V
|
||||
// 1 LOCALVARIABLE c C L3 L7 0
|
||||
// 1 LOCALVARIABLE c C L3 L.* 0
|
||||
|
||||
@@ -51,4 +51,4 @@ class A {
|
||||
|
||||
fun calcRequiredLayoutSize(count: Int, max: Int, toInt: Int) = 0
|
||||
|
||||
// 2 ISTORE 10
|
||||
// 3 ISTORE 10
|
||||
@@ -9,4 +9,4 @@ fun test(): java.lang.Integer {
|
||||
}
|
||||
|
||||
// 2 ASTORE 0
|
||||
// 1 LOCALVARIABLE c Ljava/lang/Integer; L1 L11 0
|
||||
// 1 LOCALVARIABLE c Ljava/lang/Integer; L1 L.* 0
|
||||
@@ -9,4 +9,4 @@ fun test(): java.lang.Integer {
|
||||
}
|
||||
|
||||
// 1 ASTORE 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$ObjectRef; L1 L11 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$ObjectRef; L1 L.* 0
|
||||
@@ -15,4 +15,4 @@ fun test() {
|
||||
// two in foo and two in test
|
||||
|
||||
// 4 ASTORE 2
|
||||
// 1 LOCALVARIABLE t\$iv Ljava/lang/Object; L3 L13 2
|
||||
// 1 LOCALVARIABLE t\$iv Ljava/lang/Object; L3 L.* 2
|
||||
+1
-1
@@ -15,4 +15,4 @@ fun test() {
|
||||
// two in foo and two in test
|
||||
|
||||
// 2 ASTORE 2
|
||||
// 1 LOCALVARIABLE t\$iv Lkotlin/jvm/internal/Ref\$ObjectRef; L3 L13 2
|
||||
// 1 LOCALVARIABLE t\$iv Lkotlin/jvm/internal/Ref\$ObjectRef; L3 L.* 2
|
||||
+1
-1
@@ -9,4 +9,4 @@ fun test(): UInt {
|
||||
}
|
||||
|
||||
// 2 ISTORE 0
|
||||
// 1 LOCALVARIABLE c I L1 L11 0
|
||||
// 1 LOCALVARIABLE c I L1 L.* 0
|
||||
+1
-1
@@ -9,4 +9,4 @@ fun test(): UInt {
|
||||
}
|
||||
|
||||
// 1 ASTORE 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$IntRef; L1 L11 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$IntRef; L1 L.* 0
|
||||
@@ -9,4 +9,4 @@ fun test(): Char {
|
||||
}
|
||||
|
||||
// 2 ASTORE 0
|
||||
// 1 LOCALVARIABLE c Ljava/lang/Object; L1 L12 0
|
||||
// 1 LOCALVARIABLE c Ljava/lang/Object; L1 L.* 0
|
||||
@@ -11,4 +11,4 @@ fun test(): Char {
|
||||
|
||||
// The first on declaration, the other on initialization
|
||||
// 2 ISTORE 0
|
||||
// 1 LOCALVARIABLE c C L1 L14 0
|
||||
// 1 LOCALVARIABLE c C L1 L.* 0
|
||||
@@ -9,4 +9,4 @@ fun test(): Char {
|
||||
}
|
||||
|
||||
// 1 ASTORE 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$CharRef; L1 L11 0
|
||||
// 1 LOCALVARIABLE c Lkotlin/jvm/internal/Ref\$CharRef; L1 L.* 0
|
||||
Reference in New Issue
Block a user