xref: /wasmtime-44.0.1/tests/disas/multi-5.wat (revision 7e0331c2)
1;;! target = "x86_64"
2
3(module
4  (func (export "foo")
5    i32.const 1
6    i64.const 2
7    ;; More params than results.
8    (block (param i32 i64) (result i32)
9      drop
10    )
11    drop
12  )
13)
14
15;; function u0:0(i64 vmctx, i64) tail {
16;;     gv0 = vmctx
17;;     gv1 = load.i64 notrap aligned readonly gv0+8
18;;     gv2 = load.i64 notrap aligned gv1+24
19;;     stack_limit = gv2
20;;
21;;                                 block0(v0: i64, v1: i64):
22;; @0026                               v2 = iconst.i32 1
23;; @0028                               v3 = iconst.i64 2
24;; @002d                               jump block2
25;;
26;;                                 block2:
27;; @002f                               jump block1
28;;
29;;                                 block1:
30;; @002f                               return
31;; }
32