mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-07-30 21:52:18 +00:00
directize more (eliminate table use)
This commit is contained in:
@@ -1,25 +1,21 @@
|
||||
(module
|
||||
(type $FUNCSIG$vi (func (param i32)))
|
||||
(type $FUNCSIG$v (func))
|
||||
(memory $0 1)
|
||||
(data (i32.const 8) "\01\00\00\00\0e")
|
||||
(data (i32.const 24) "w\00a\00s\00i\00.\00t\00s")
|
||||
(table $0 2 funcref)
|
||||
(elem (i32.const 0) $null $~lib/string/String~traverse)
|
||||
(table $0 1 funcref)
|
||||
(elem (i32.const 0) $null)
|
||||
(global $wasi/sig (mut i32) (i32.const 1))
|
||||
(global $~lib/capabilities i32 (i32.const 2))
|
||||
(export "memory" (memory $0))
|
||||
(export "table" (table $0))
|
||||
(export ".capabilities" (global $~lib/capabilities))
|
||||
(start $start)
|
||||
(func $~lib/string/String~traverse (; 0 ;) (type $FUNCSIG$vi) (param $0 i32)
|
||||
nop
|
||||
)
|
||||
(func $start (; 1 ;) (type $FUNCSIG$v)
|
||||
(func $start (; 0 ;) (type $FUNCSIG$v)
|
||||
i32.const 9
|
||||
global.set $wasi/sig
|
||||
)
|
||||
(func $null (; 2 ;) (type $FUNCSIG$v)
|
||||
(func $null (; 1 ;) (type $FUNCSIG$v)
|
||||
nop
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user