File: actual.wast

package info (click to toggle)
node-webassemblyjs 1.11.0%2Bdfsg%2B~cs10.10.16-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,040 kB
  • sloc: javascript: 28,630; makefile: 84; sh: 42; ansic: 16
file content (21 lines) | stat: -rw-r--r-- 296 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(module
  (func (export "test") (result i32)
    (local $inc i32)

    (loop $loop
      (i32.add
        (i32.const 1)
        (get_local $inc)
      )
      (set_local $inc)

      (i32.ne
        (get_local $inc)
        (i32.const 3)
      )
      (br_if 0)
    )

    (get_local $inc)
  )
)