Drop package facades: JVM BE tests passed.
This commit is contained in:
@@ -11,10 +11,8 @@ class B {
|
||||
}
|
||||
|
||||
/*
|
||||
One DEPRECATED is for _DefaultPackage
|
||||
One is for _DefaultPackage.getCONST_VAL
|
||||
One DEPRECATED is for INSTANCE$ temporarily
|
||||
3 others are for getCONST_VAL
|
||||
One more for INSTANCE$ temporarily
|
||||
*/
|
||||
|
||||
// 6 DEPRECATED
|
||||
// 4 DEPRECATED
|
||||
@@ -16,7 +16,7 @@ fun box(): String {
|
||||
|
||||
/*
|
||||
3 return's are defined in functions
|
||||
2 are from package facade
|
||||
*/
|
||||
|
||||
// 5 RETURN
|
||||
// 2 IRETURN
|
||||
// 1 ARETURN
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
package foo
|
||||
|
||||
fun simpleFoo(s: Int = 111) {
|
||||
|
||||
}
|
||||
|
||||
// 1 BIPUSH 111
|
||||
// 1 INVOKESTATIC foo/DefaultDelegationKt.simpleFoo\$default \(II\)V
|
||||
+3
-3
@@ -7,10 +7,10 @@ fun foo() : String {
|
||||
}
|
||||
|
||||
// 3 ISTORE
|
||||
// 11 ILOAD
|
||||
// 7 ILOAD
|
||||
// 2 ASTORE
|
||||
// 8 ALOAD
|
||||
// 6 ALOAD
|
||||
// 2 LSTORE
|
||||
// 6 LLOAD
|
||||
// 4 LLOAD
|
||||
// 1 MAXLOCALS = 10
|
||||
// 0 InlineMarker
|
||||
|
||||
+2
-2
@@ -9,9 +9,9 @@ fun test() {
|
||||
}
|
||||
|
||||
// 1 ISTORE
|
||||
// 3 ILOAD
|
||||
// 2 ILOAD
|
||||
// 2 ASTORE
|
||||
// 7 ALOAD
|
||||
// 5 ALOAD
|
||||
// 2 MAXLOCALS = 3
|
||||
// 1 MAXLOCALS = 4
|
||||
// 0 InlineMarker
|
||||
|
||||
@@ -10,5 +10,5 @@ fun foo() : Int {
|
||||
}
|
||||
|
||||
// 3 ISTORE
|
||||
// 11 ILOAD
|
||||
// 7 ILOAD
|
||||
// 0 InlineMarker
|
||||
|
||||
+1
-1
@@ -16,6 +16,6 @@ fun foo() : String {
|
||||
)
|
||||
}
|
||||
|
||||
// 14 ALOAD
|
||||
// 10 ALOAD
|
||||
// 2 ASTORE
|
||||
// 0 InlineMarker
|
||||
|
||||
+1
-1
@@ -6,6 +6,6 @@ fun foo() : String {
|
||||
}
|
||||
|
||||
// 6 ASTORE
|
||||
// 21 ALOAD
|
||||
// 16 ALOAD
|
||||
// 1 MAXLOCALS = 7
|
||||
// 0 InlineMarker
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
fun foo(a: Int = 1) {}
|
||||
|
||||
// 0 _DefaultPackage.foo
|
||||
// 3 INVOKESTATIC TopLevelFunWithDefaultArgsKt\.foo
|
||||
// 1 INVOKESTATIC TopLevelFunWithDefaultArgsKt\.foo
|
||||
|
||||
Reference in New Issue
Block a user