wasmtime: Implement table.fill

Part of #929
This commit is contained in:
Nick Fitzgerald
2020-07-02 16:56:02 -07:00
parent d87ada209c
commit 3555f97906
5 changed files with 97 additions and 13 deletions

View File

@@ -594,6 +594,10 @@ impl VMBuiltinFunctionsArray {
wasmtime_externref_global_get as usize;
ptrs[BuiltinFunctionIndex::externref_global_set().index() as usize] =
wasmtime_externref_global_set as usize;
ptrs[BuiltinFunctionIndex::table_fill_externref().index() as usize] =
wasmtime_table_fill as usize;
ptrs[BuiltinFunctionIndex::table_fill_funcref().index() as usize] =
wasmtime_table_fill as usize;
if cfg!(debug_assertions) {
for i in 0..ptrs.len() {