fix memory in the frontend

This commit is contained in:
Graham Kelly 2024-01-22 18:09:46 -05:00
parent 411267673d
commit 9174f826aa

View file

@ -1151,7 +1151,9 @@ impl<'a, 'b> FunctionBodyBuilder<'a, 'b> {
| wasmparser::Operator::TableGet { .. }
| wasmparser::Operator::TableSet { .. }
| wasmparser::Operator::TableGrow { .. }
| wasmparser::Operator::TableSize { .. } => {
| wasmparser::Operator::TableSize { .. }
| wasmparser::Operator::MemoryCopy { .. }
| wasmparser::Operator::MemoryFill { .. }=> {
self.emit(Operator::try_from(&op).unwrap(), loc)?
}