summaryrefslogtreecommitdiff
path: root/dx/tests/045-dex-switch-ops/expected.txt
blob: 46476ea836abd5f7307be5b2c619dbe3f90d0f6b (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
Blort.switchTest1:(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, 0016 // +0013
  0006: const/4 v2, #int 6 // #6
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 2 // #2
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: const/4 v2, #int 3 // #3
  000d: move v0, v2
  000e: goto 0008 // -0006
  000f: const/4 v2, #int 4 // #4
  0010: move v0, v2
  0011: goto 0008 // -0009
  0012: const/4 v2, #int 5 // #5
  0013: move v0, v2
  0014: goto 0008 // -000c
  0015: nop // spacer
  0016: packed-switch-data // for switch @ 0003
          1: 00000009 // +00000006
          2: 0000000c // +00000009
          3: 0000000f // +0000000c
          4: 00000012 // +0000000f
Blort.switchTest2:(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, 0016 // +0013
  0006: const/4 v2, #int 6 // #6
  0007: move v0, v2
  0008: return v0
  0009: const/4 v2, #int 2 // #2
  000a: move v0, v2
  000b: goto 0008 // -0003
  000c: const/4 v2, #int 3 // #3
  000d: move v0, v2
  000e: goto 0008 // -0006
  000f: const/4 v2, #int 4 // #4
  0010: move v0, v2
  0011: goto 0008 // -0009
  0012: const/16 v2, #int 50 // #0032
  0014: move v0, v2
  0015: goto 0008 // -000d
  0016: sparse-switch-data // for switch @ 0003
          1: 00000009 // +00000006
          10: 0000000c // +00000009
          100: 0000000f // +0000000c
          1000: 00000012 // +0000000f