Debian Codegraph @

tests/cli/dump-branch-hints.wat.stdout

raw
1 0x0 | 00 61 73 6d | version 1 (Module)
2 | 01 00 00 00
3 0x8 | 01 04 | type section
4 0xa | 01 | 1 count
5 --- rec group 0 (implicit) ---
6 0xb | 60 00 00 | [type 0] SubType { is_final: true, supertype_idx: None, composite_type: CompositeType { inner: Func(FuncType { params: [], results: [] }), shared: false } }
7 0xe | 03 02 | func section
8 0x10 | 01 | 1 count
9 0x11 | 00 | [func 0] type 0
10 0x12 | 00 23 | custom section
11 0x14 | 19 6d 65 74 | name: "metadata.code.branch_hint"
12 | 61 64 61 74
13 | 61 2e 63 6f
14 | 64 65 2e 62
15 | 72 61 6e 63
16 | 68 5f 68 69
17 | 6e 74
18 0x2e | 01 | 1 count
19 0x2f | 00 | func: 0
20 0x30 | 02 | 2 count
21 0x31 | 03 01 00 | BranchHint { func_offset: 3, taken: false }
22 0x34 | 06 01 01 | BranchHint { func_offset: 6, taken: true }
23 0x37 | 0a 0c | code section
24 0x39 | 01 | 1 count
25 ============== func 0 ====================
26 0x3a | 0a | size of function
27 0x3b | 00 | 0 local blocks
28 0x3c | 41 00 | i32_const value:0
29 0x3e | 04 40 | if blockty:Empty
30 0x40 | 0b | end
31 0x41 | 04 40 | if blockty:Empty
32 0x43 | 0b | end
33 0x44 | 0b | end