Skip to content

Commit

Permalink
crucible-wasm: Adapt to new table instructions in Wasm 2.0
Browse files Browse the repository at this point in the history
This bumps the `haskell-wasm` commit to
SPY/haskell-wasm@4753ebc.
For now, we do not implement Wasm 2.0's new table-related instructions, as that
would require a non-trivial amount of work to support. See #1228.
  • Loading branch information
RyanGlScott committed Aug 1, 2024
1 parent 03d618f commit 3f21102
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions crucible-wasm/src/Lang/Crucible/Wasm/Translate.hs
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,14 @@ genInstruction genReturn im st ctrlStack instr =
-- RefIsNull
-- RefFunc FuncIndex

-- TableInit TableIndex ElemIndex
-- TableGrow TableIndex
-- TableSize TableIndex
-- TableFill TableIndex
-- TableGet TableIndex
-- TableSet TableIndex
-- TableCopy TableIndex TableIndex

_ -> unimplemented $ unwords ["Instruction not implemented", show instr]

invokeFn ::
Expand Down
2 changes: 1 addition & 1 deletion dependencies/haskell-wasm

0 comments on commit 3f21102

Please sign in to comment.