mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-18 01:11:32 +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:
@ -17,4 +17,7 @@
|
||||
(i32.const 0)
|
||||
)
|
||||
)
|
||||
(func $null (; 3 ;) (; has Stack IR ;) (type $v)
|
||||
(nop)
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user