Skip to content

Commit

Permalink
Fix opcode type
Browse files Browse the repository at this point in the history
  • Loading branch information
camilbancioiu committed Nov 3, 2021
1 parent 26375c8 commit aaae4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleware-common/src/opcode_control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl FunctionMiddleware for OpcodeControl {
sink.push(Event::WasmOwned(Operator::I32Const {
value: self.max_memory_grow_delta as i32,
}));
sink.push(Event::WasmOwned(Operator::I64GtU));
sink.push(Event::WasmOwned(Operator::I32GtU));
sink.push(Event::WasmOwned(Operator::If {
ty: WpTypeOrFuncType::Type(WpType::EmptyBlockType),
}));
Expand Down

0 comments on commit aaae4eb

Please sign in to comment.