mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-17 17:01:37 +00:00
Always add a null function at table index zero
This allows function references (a table index internally) to be nullable
This commit is contained in:
@ -14,4 +14,7 @@
|
||||
(func $inlining-recursive/bar (; 2 ;) (; has Stack IR ;) (type $v)
|
||||
(call $inlining-recursive/baz)
|
||||
)
|
||||
(func $null (; 3 ;) (; has Stack IR ;) (type $v)
|
||||
(nop)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user