blob: 7a4ec4dec572f8d1d57f8faa1eb6f96552c8a61e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
;;; TOOL: wat2wasm
(module
;; block
(func
block (result f32 f32)
block
block (result f32 f32)
f32.const 1
f32.const 2
i32.const 0 ;; key
br_table 0 2
end
drop
drop
end
f32.const 3
f32.const 4
end
return)
;; loop
(func
loop (result f32 f32)
loop
loop (result f32 f32)
i32.const 0 ;; key
br_table 0 2
end
drop
drop
end
f32.const 3
f32.const 4
end
return)
;; loop w/ param
(func
i32.const 1
loop (param i32)
drop ;; loop param
loop
i32.const 2
loop (param i32)
;; br param is passed through as loop param
i32.const 0 ;; key
br_table 0 2
end
end
end)
)
|