forked from rustwasm/wasm-bindgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgetter-setter.wat
45 lines (44 loc) · 2.21 KB
/
getter-setter.wat
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
(module $reference_test.wasm
(type (;0;) (func (result i32)))
(type (;1;) (func (param i32)))
(type (;2;) (func (param i32) (result i32)))
(type (;3;) (func (param i32) (result f64)))
(type (;4;) (func (param i32 i32)))
(type (;5;) (func (param i32 i32) (result i32)))
(type (;6;) (func (param i32 i32 i32)))
(type (;7;) (func (param i32 i32 i32 i32) (result i32)))
(type (;8;) (func (param i32 f64)))
(func $__wbindgen_realloc (;0;) (type 7) (param i32 i32 i32 i32) (result i32))
(func $__wbindgen_malloc (;1;) (type 5) (param i32 i32) (result i32))
(func $foo_set_weird (;2;) (type 6) (param i32 i32 i32))
(func $__wbg_set_foo_y (;3;) (type 8) (param i32 f64))
(func $__wbg_get_foo_y (;4;) (type 3) (param i32) (result f64))
(func $__wbg_get_foo_x (;5;) (type 2) (param i32) (result i32))
(func $foo_set_z (;6;) (type 8) (param i32 f64))
(func $foo_set_lone_setter (;7;) (type 8) (param i32 f64))
(func $foo_z (;8;) (type 3) (param i32) (result f64))
(func $foo_lone_getter (;9;) (type 3) (param i32) (result f64))
(func $__wbg_set_foo_x (;10;) (type 4) (param i32 i32))
(func $foo_weird (;11;) (type 2) (param i32) (result i32))
(func $foo_x_static (;12;) (type 0) (result i32))
(func $__wbg_foo_free (;13;) (type 4) (param i32 i32))
(func $foo_set_x_static (;14;) (type 1) (param i32))
(memory (;0;) 17)
(export "memory" (memory 0))
(export "__wbg_foo_free" (func $__wbg_foo_free))
(export "__wbg_get_foo_x" (func $__wbg_get_foo_x))
(export "__wbg_set_foo_x" (func $__wbg_set_foo_x))
(export "__wbg_get_foo_y" (func $__wbg_get_foo_y))
(export "__wbg_set_foo_y" (func $__wbg_set_foo_y))
(export "foo_z" (func $foo_z))
(export "foo_set_z" (func $foo_set_z))
(export "foo_lone_getter" (func $foo_lone_getter))
(export "foo_set_lone_setter" (func $foo_set_lone_setter))
(export "foo_weird" (func $foo_weird))
(export "foo_set_weird" (func $foo_set_weird))
(export "foo_x_static" (func $foo_x_static))
(export "foo_set_x_static" (func $foo_set_x_static))
(export "__wbindgen_malloc" (func $__wbindgen_malloc))
(export "__wbindgen_realloc" (func $__wbindgen_realloc))
(@custom "target_features" (after code) "\04+\0amultivalue+\0fmutable-globals+\0freference-types+\08sign-ext")
)