|
8 | 8 | (func (export "main")
|
9 | 9 | (block $b (result i32)
|
10 | 10 | (try_table (catch $t $b)
|
| 11 | + (drop (i32.const 42)) |
11 | 12 | (throw $t (i32.const 42)))
|
12 | 13 | i32.const 0)
|
13 | 14 | (call 0)
|
|
19 | 20 | ;; ldur x16, [x16, #0x10]
|
20 | 21 | ;; add x16, x16, #0xc0
|
21 | 22 | ;; cmp sp, x16
|
22 |
| -;; b.lo #0x10c |
| 23 | +;; b.lo #0x110 |
23 | 24 | ;; 1c: stp x27, x28, [sp, #-0x10]!
|
24 | 25 | ;; stp x25, x26, [sp, #-0x10]!
|
25 | 26 | ;; stp x23, x24, [sp, #-0x10]!
|
|
33 | 34 | ;; stur x2, [sp]
|
34 | 35 | ;; stur x2, [sp, #0x10]
|
35 | 36 | ;; mov w27, #0x2a
|
36 |
| -;; ╰─╼ debug frame state: func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 53, slot at FP-0xb0, locals , stack |
| 37 | +;; ╰─╼ debug frame state (before next inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 61, slot at FP-0xb0, locals , stack |
37 | 38 | ;; stur w27, [sp, #8]
|
| 39 | +;; stur w27, [sp, #8] |
| 40 | +;; ╰─╼ debug frame state (before next inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 64, slot at FP-0xb0, locals , stack |
38 | 41 | ;; ldur x2, [sp, #0x10]
|
39 |
| -;; ╰─╼ debug frame state: func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 63, slot at FP-0xb0, locals , stack I32 @ slot+0x8 |
40 |
| -;; bl #0x318 |
41 |
| -;; 5c: mov x21, x2 |
| 42 | +;; ╰─╼ debug frame state (before next inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 66, slot at FP-0xb0, locals , stack I32 @ slot+0x8 |
| 43 | +;; bl #0x31c |
| 44 | +;; 60: mov x21, x2 |
42 | 45 | ;; mov w3, #0x4000000
|
43 | 46 | ;; mov w4, #2
|
44 | 47 | ;; mov w5, #0x28
|
45 | 48 | ;; mov w6, #8
|
46 | 49 | ;; ldur x2, [sp, #0x10]
|
47 |
| -;; bl #0x2a4 |
48 |
| -;; 78: ldur x8, [sp, #0x10] |
49 |
| -;; ldr x13, [x8, #8] |
50 |
| -;; ldr x3, [x13, #0x18] |
51 |
| -;; add x13, x3, #0x20 |
52 |
| -;; str w27, [x13, w2, uxtw] |
53 |
| -;; add x14, x3, #0x18 |
54 |
| -;; mov x0, x21 |
55 |
| -;; str w0, [x14, w2, uxtw] |
56 |
| -;; mov w15, #0 |
57 |
| -;; add x0, x3, #0x1c |
58 |
| -;; stur x3, [sp, #0x18] |
59 |
| -;; str w15, [x0, w2, uxtw] |
| 50 | +;; bl #0x2a8 |
| 51 | +;; 7c: ldur x11, [sp, #0x10] |
| 52 | +;; ldr x0, [x11, #8] |
| 53 | +;; ldr x5, [x0, #0x18] |
| 54 | +;; add x0, x5, #0x20 |
| 55 | +;; str w27, [x0, w2, uxtw] |
| 56 | +;; add x3, x5, #0x18 |
| 57 | +;; mov x4, x21 |
| 58 | +;; str w4, [x3, w2, uxtw] |
| 59 | +;; mov w3, #0 |
| 60 | +;; add x4, x5, #0x1c |
| 61 | +;; stur x5, [sp, #0x18] |
| 62 | +;; str w3, [x4, w2, uxtw] |
60 | 63 | ;; mov x3, x2
|
61 | 64 | ;; ldur x2, [sp, #0x10]
|
62 |
| -;; bl #0x350 |
| 65 | +;; bl #0x354 |
63 | 66 | ;; ├─╼ exception frame offset: SP = FP - 0xb0
|
64 |
| -;; ╰─╼ exception handler: tag=0, context at [SP+0x10], handler=0xb8 |
65 |
| -;; b4: .byte 0x1f, 0xc1, 0x00, 0x00 |
66 |
| -;; ldur x3, [sp, #0x18] |
67 |
| -;; add x1, x3, #0x20 |
68 |
| -;; ldr w3, [x1, w0, uxtw] |
69 |
| -;; stur w3, [sp, #8] |
| 67 | +;; ╰─╼ exception handler: tag=0, context at [SP+0x10], handler=0xbc |
| 68 | +;; b8: .byte 0x1f, 0xc1, 0x00, 0x00 |
| 69 | +;; ldur x5, [sp, #0x18] |
| 70 | +;; add x4, x5, #0x20 |
| 71 | +;; ldr w6, [x4, w0, uxtw] |
| 72 | +;; stur w6, [sp, #8] |
70 | 73 | ;; ldur x2, [sp, #0x10]
|
71 |
| -;; ╰─╼ debug frame state: func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 69, slot at FP-0xb0, locals , stack I32 @ slot+0x8 |
72 |
| -;; ldr x5, [x2, #0x30] |
| 74 | +;; ╰─╼ debug frame state (before next inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 72, slot at FP-0xb0, locals , stack I32 @ slot+0x8 |
| 75 | +;; ldr x8, [x2, #0x30] |
73 | 76 | ;; ldr x2, [x2, #0x40]
|
74 | 77 | ;; ldur x3, [sp, #0x10]
|
75 |
| -;; blr x5 |
76 |
| -;; ╰─╼ debug frame state: func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 69, slot at FP-0xb0, locals , stack I32 @ slot+0x8 |
77 |
| -;; dc: add sp, sp, #0x20 |
78 |
| -;; ╰─╼ debug frame state: func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 71, slot at FP-0xb0, locals , stack I32 @ slot+0x8 |
| 78 | +;; blr x8 |
| 79 | +;; ╰─╼ debug frame state (after previous inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 72, slot at FP-0xb0, locals , stack I32 @ slot+0x8 |
| 80 | +;; e0: add sp, sp, #0x20 |
| 81 | +;; ╰─╼ debug frame state (before next inst): func key DefinedWasmFunction(StaticModuleIndex(0), DefinedFuncIndex(0)), wasm PC 75, slot at FP-0xb0, locals , stack |
79 | 82 | ;; ldp d8, d9, [sp], #0x10
|
80 | 83 | ;; ldp d10, d11, [sp], #0x10
|
81 | 84 | ;; ldp d12, d13, [sp], #0x10
|
|
87 | 90 | ;; ldp x27, x28, [sp], #0x10
|
88 | 91 | ;; ldp x29, x30, [sp], #0x10
|
89 | 92 | ;; ret
|
90 |
| -;; 10c: .byte 0x1f, 0xc1, 0x00, 0x00 |
| 93 | +;; 110: .byte 0x1f, 0xc1, 0x00, 0x00 |
0 commit comments