summaryrefslogtreecommitdiff
path: root/test/pending/pos/inliner2.flags
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/pos/inliner2.flags')
-rw-r--r--test/pending/pos/inliner2.flags35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/pending/pos/inliner2.flags b/test/pending/pos/inliner2.flags
new file mode 100644
index 0000000000..4bf93a9c2a
--- /dev/null
+++ b/test/pending/pos/inliner2.flags
@@ -0,0 +1,35 @@
+-optimise -Ybackend:GenASM -Xfatal-warnings
+/*
+This is what we get with 2.11.2-M3 and -Yopt:l:project:
+
+ public final int bob1();
+ Code:
+ 0: aload_0
+ 1: aload_0
+ 2: astore 6
+ 4: aload 6
+ 6: invokedynamic #62, 0 // InvokeDynamic #0:apply$mcZ$sp:(LA;)Lscala/runtime/java8/JFunction0$mcZ$sp;
+ 11: checkcast #29 // class scala/Function0
+ 14: invokedynamic #71, 0 // InvokeDynamic #1:apply$mcI$sp:()Lscala/runtime/java8/JFunction0$mcI$sp;
+ 19: checkcast #29 // class scala/Function0
+ 22: invokedynamic #76, 0 // InvokeDynamic #2:apply$mcI$sp:()Lscala/runtime/java8/JFunction0$mcI$sp;
+ 27: checkcast #29 // class scala/Function0
+ 30: astore 4
+ 32: astore_3
+ 33: astore_2
+ 34: astore_1
+ 35: aload_2
+ 36: pop
+ 37: aload 6
+ 39: invokevirtual #53 // Method A$$$anonfun$1:()Z
+ 42: ifeq 54
+ 45: aload_3
+ 46: invokeinterface #36, 1 // InterfaceMethod scala/Function0.apply:()Ljava/lang/Object;
+ 51: goto 61
+ 54: aload 4
+ 56: invokeinterface #36, 1 // InterfaceMethod scala/Function0.apply:()Ljava/lang/Object;
+ 61: astore 5
+ 63: aload 5
+ 65: invokestatic #82 // Method scala/runtime/BoxesRunTime.unboxToInt:(Ljava/lang/Object;)I
+ 68: ireturn
+*/ \ No newline at end of file