xref: /wasmtime-44.0.1/tests/disas/multi-6.wat (revision 7e0331c2)
1;;! target = "x86_64"
2
3(module
4  (func (export "foo")
5    i32.const 1
6    ;; Fewer params than results.
7    (block (param i32) (result i32 i64)
8      i64.const 2
9    )
10    drop
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;; @002a                               v5 = iconst.i64 2
24;; @002c                               jump block2
25;;
26;;                                 block2:
27;; @002f                               jump block1
28;;
29;;                                 block1:
30;; @002f                               return
31;; }
32