summaryrefslogtreecommitdiff
path: root/dx/tests/072-dex-switch-edge-cases/expected.txt
blob: 38a467af7251cceb143200f7ca90db59228d765a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Blort.test1:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: const/4 v2, #int 0 // #0
  0004: move v0, v2
  0005: return v0
Blort.test2:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: packed-switch v2, 000c // +0009
  0006: const/4 v2, #int 1 // #1
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 0 // #0
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: packed-switch-payload // for switch @ 0003
          0: 00000009 // +00000006
Blort.test3:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: packed-switch v2, 000c // +0009
  0006: const/4 v2, #int 1 // #1
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 0 // #0
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: packed-switch-payload // for switch @ 0003
          -2147483648: 00000009 // +00000006
Blort.test4:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: packed-switch v2, 000c // +0009
  0006: const/4 v2, #int 1 // #1
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 0 // #0
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: packed-switch-payload // for switch @ 0003
          2147483647: 00000009 // +00000006
Blort.test5:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: sparse-switch v2, 0010 // +000d
  0006: const/4 v2, #int 2 // #2
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 0 // #0
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: const/4 v2, #int 1 // #1
  000d: move v0, v2
  000e: goto 0008 // -0006
  000f: nop // spacer
  0010: sparse-switch-payload // for switch @ 0003
          -2147483648: 0000000c // +00000009
          0: 00000009 // +00000006
Blort.test6:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: sparse-switch v2, 0010 // +000d
  0006: const/4 v2, #int 2 // #2
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 0 // #0
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: const/4 v2, #int 1 // #1
  000d: move v0, v2
  000e: goto 0008 // -0006
  000f: nop // spacer
  0010: sparse-switch-payload // for switch @ 0003
          0: 00000009 // +00000006
          2147483647: 0000000c // +00000009
Blort.test7:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: sparse-switch v2, 0010 // +000d
  0006: const/4 v2, #int 2 // #2
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 0 // #0
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: const/4 v2, #int 1 // #1
  000d: move v0, v2
  000e: goto 0008 // -0006
  000f: nop // spacer
  0010: sparse-switch-payload // for switch @ 0003
          -2147483648: 00000009 // +00000006
          2147483647: 0000000c // +00000009
Blort.test8:(I)I:
regs: 0005; ins: 0002; outs: 0000
  0000: move-object v0, v3
  0001: move v1, v4
  0002: move v2, v1
  0003: sparse-switch v2, 0010 // +000d
  0006: const/4 v2, #int 2 // #2
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 0 // #0
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: const/4 v2, #int 1 // #1
  000d: move v0, v2
  000e: goto 0008 // -0006
  000f: nop // spacer
  0010: sparse-switch-payload // for switch @ 0003
          0: 00000009 // +00000006
          1288490184: 0000000c // +00000009