There was an error while loading. Please reload this page.
1 parent 7815c53 commit 8250babCopy full SHA for 8250bab
1 file changed
crates/wasmi/src/engine/translator/func2/mod.rs
@@ -308,9 +308,8 @@ impl FuncTranslator {
308
let frame = self.stack.peek_control(depth);
309
let len_branch_params = usize::from(frame.len_branch_params(&self.engine));
310
let frame_height = frame.height();
311
- frame_height == (self.stack.height() - usize::from(len_branch_params))
+ frame_height == (self.stack.height() - len_branch_params)
312
&& (0..len_branch_params)
313
- .into_iter()
314
.map(|depth| self.stack.peek(depth))
315
.all(|o| o.is_temp())
316
}
0 commit comments