File: module.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 (43 lines) | stat: -rw-r--r-- 652 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
(module
 (table 0 anyfunc)
 (memory $0 1)
 (export "main" (func $_Z19fibonacci_recursivej))
 (func $_Z19fibonacci_recursivej (; 0 ;) (param $0 i32) (result i32)
  (block $label$0
   (block $label$1
    (br_if $label$1
     (i32.eqz
      (get_local $0)
     )
    )
    (br_if $label$0
     (i32.ne
      (get_local $0)
      (i32.const 1)
     )
    )
    (return
     (i32.const 1)
    )
   )
   (return
    (i32.const 0)
   )
  )
  (i32.add
   (call $_Z19fibonacci_recursivej
    (i32.add
     (get_local $0)
     (i32.const -1)
    )
   )
   (call $_Z19fibonacci_recursivej
    (i32.add
     (get_local $0)
     (i32.const -2)
    )
   )
  )
 )
)