xref: /wasmtime-44.0.1/tests/disas/multi-11.wat (revision 7e0331c2)
1;;! target = "x86_64"
2
3(module
4  (func (export "multiLoop") (param i64) (result i64 i64)
5    (local.get 0)
6    ;; Fewer params than results.
7    (loop (param i64) (result i64 i64)
8      i64.const 42
9      return)))
10
11;; function u0:0(i64 vmctx, i64, i64) -> i64, i64 tail {
12;;     gv0 = vmctx
13;;     gv1 = load.i64 notrap aligned readonly gv0+8
14;;     gv2 = load.i64 notrap aligned gv1+24
15;;     stack_limit = gv2
16;;
17;;                                 block0(v0: i64, v1: i64, v2: i64):
18;; @002b                               jump block2
19;;
20;;                                 block2:
21;; @002d                               v8 = iconst.i64 42
22;; @002f                               return v2, v8  ; v8 = 42
23;; }
24