File: externref.wast.fromBinary

package info (click to toggle)
binaryen 99-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 31,352 kB
  • sloc: cpp: 134,831; javascript: 61,839; ansic: 12,369; python: 4,620; pascal: 441; sh: 72; asm: 27; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 492 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
(module
 (type $externref_=>_externref (func (param externref) (result externref)))
 (import "env" "test2" (global $gimport$1 externref))
 (import "env" "test1" (func $test1 (param externref) (result externref)))
 (memory $0 1 1)
 (export "test1" (func $test1))
 (export "test2" (global $gimport$1))
 (func $externref_test (; 1 ;) (param $0 externref) (result externref)
  (local $1 externref)
  (local.set $1
   (call $test1
    (local.get $0)
   )
  )
  (return
   (local.get $1)
  )
 )
)