Initial module level function exports

This commit is contained in:
dcodeIO
2017-12-02 23:33:01 +01:00
parent 9e053f311e
commit eaf9253b96
8 changed files with 33 additions and 18 deletions

View File

@ -2,6 +2,9 @@
(type $ii (func (param i32) (result i32)))
(memory $0 1)
(data (i32.const 4) "\08\00\00\00")
(export "doSwitch" (func $switch/doSwitch))
(export "doSwitchDefaultFirst" (func $switch/doSwitchDefaultFirst))
(export "doSwitchDefaultOmitted" (func $switch/doSwitchDefaultOmitted))
(export "memory" (memory $0))
(func $switch/doSwitch (; 0 ;) (type $ii) (param $0 i32) (result i32)
(local $1 i32)