mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-21 10:41:42 +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:
@ -12,4 +12,7 @@
|
||||
(export "two" (func $external/two))
|
||||
(export "three" (func $external/three))
|
||||
(export "var_" (global $external/var_))
|
||||
(func $null (; 4 ;) (; has Stack IR ;) (type $v)
|
||||
(nop)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user