Skip to content

Commit c2ab5cf

Browse files
authored
Merge pull request #9 from andreiltd/main
Handle MemoryFill and MemoryCopy operators
2 parents 3377199 + df60090 commit c2ab5cf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/frontend.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,9 @@ impl<'a, 'b> FunctionBodyBuilder<'a, 'b> {
14341434
| wasmparser::Operator::CallRef { .. }
14351435
| wasmparser::Operator::RefIsNull
14361436
| wasmparser::Operator::RefNull { .. }
1437-
| wasmparser::Operator::RefFunc { .. } => {
1437+
| wasmparser::Operator::RefFunc { .. }
1438+
| wasmparser::Operator::MemoryFill { .. }
1439+
| wasmparser::Operator::MemoryCopy { .. } => {
14381440
self.emit(Operator::try_from(&op).unwrap(), loc)?
14391441
}
14401442

0 commit comments

Comments
 (0)