Home | History | Annotate | Download | only in 138-invoke-polymorphic-again
      1 Main.$opt$BasicTest:()V:
      2 regs: 0012; ins: 0000; outs: 0010
      3   0000: const/4 v1, #null // #0
      4   0001: const/16 v2, #int 42 // #002a
      5   0003: const/16 v3, #int -42 // #ffd6
      6   0005: invoke-static {v2, v3}, Main.assertEquals:(II)V
      7   0008: const/4 v2, #int 0 // #0
      8   0009: const/4 v3, #int 1 // #1
      9   000a: const/4 v4, #int 2 // #2
     10   000b: const/4 v5, #int 3 // #3
     11   000c: const/4 v6, #int 4 // #4
     12   000d: const/4 v7, #int 5 // #5
     13   000e: const/4 v8, #int 6 // #6
     14   000f: const/4 v9, #int 7 // #7
     15   0010: const/16 v10, #int 8 // #0008
     16   0012: const/16 v11, #int 9 // #0009
     17   0014: const/16 v12, #int 10 // #000a
     18   0016: const/16 v13, #int 11 // #000b
     19   0018: const/16 v14, #int 12 // #000c
     20   001a: const/16 v15, #int 13 // #000d
     21   001c: const/16 v16, #int 14 // #000e
     22   001e: invoke-virtual/range {v1..v16}, Main.foof:(IIIIIIIIIIIIIII)I
     23   0021: const/16 v17, #null // #0000
     24   0023: const-string v2, "bad"
     25   0025: move-object/from16 v0, v17
     26   0027: invoke-polymorphic {v0, v2}, java.lang.invoke.MethodHandle.invokeExact:([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/String;)V
     27   002b: return-void
     28   debug info
     29     line_start: 34
     30     parameters_size: 0000
     31     0000: prologue end
     32     0000: line 34
     33     0001: line 36
     34     0001: +local v1 m Main
     35     0008: line 37
     36     0021: advance pc
     37     0021: line 41
     38     0023: line 42
     39     0023: +local v17 mh0 java.lang.invoke.MethodHandle
     40     002b: line 43
     41     end sequence
     42   source file: "Main.java"
     43   method annotations:
     44     system-annotation dalvik.annotation.Throws {value: {java.lang.Throwable}}
     45 Main.$opt$BasicTest2:()I:
     46 regs: 0012; ins: 0000; outs: 0010
     47   0000: const/4 v1, #null // #0
     48   0001: const/16 v2, #int 42 // #002a
     49   0003: const/16 v3, #int -42 // #ffd6
     50   0005: invoke-static {v2, v3}, Main.assertEquals:(II)V
     51   0008: const/4 v2, #int 0 // #0
     52   0009: const/4 v3, #int 1 // #1
     53   000a: const/4 v4, #int 2 // #2
     54   000b: const/4 v5, #int 3 // #3
     55   000c: const/4 v6, #int 4 // #4
     56   000d: const/4 v7, #int 5 // #5
     57   000e: const/4 v8, #int 6 // #6
     58   000f: const/4 v9, #int 7 // #7
     59   0010: const/16 v10, #int 8 // #0008
     60   0012: const/16 v11, #int 9 // #0009
     61   0014: const/16 v12, #int 10 // #000a
     62   0016: const/16 v13, #int 11 // #000b
     63   0018: const/16 v14, #int 12 // #000c
     64   001a: const/16 v15, #int 13 // #000d
     65   001c: const/16 v16, #int 14 // #000e
     66   001e: invoke-virtual/range {v1..v16}, Main.foof:(IIIIIIIIIIIIIII)I
     67   0021: const/16 v17, #null // #0000
     68   0023: const-string v2, "bad"
     69   0025: move-object/from16 v0, v17
     70   0027: invoke-polymorphic {v0, v2}, java.lang.invoke.MethodHandle.invokeExact:([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/String;)I
     71   002b: move-result v2
     72   002c: return v2
     73   debug info
     74     line_start: 46
     75     parameters_size: 0000
     76     0000: prologue end
     77     0000: line 46
     78     0001: line 48
     79     0001: +local v1 m Main
     80     0008: line 49
     81     0021: advance pc
     82     0021: line 53
     83     0023: line 54
     84     0023: +local v17 mh0 java.lang.invoke.MethodHandle
     85     end sequence
     86   source file: "Main.java"
     87   method annotations:
     88     system-annotation dalvik.annotation.Throws {value: {java.lang.Throwable}}
     89