We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2b42c7 commit 530bca3Copy full SHA for 530bca3
crates/wasmi/src/engine/translator/func/mod.rs
@@ -909,7 +909,7 @@ impl FuncTranslator {
909
},
910
_ => {
911
self.move_operands_to_temp(usize::from(len_results), consume_fuel)?;
912
- let result0 = self.stack.peek(usize::from(len_results));
+ let result0 = self.stack.peek(usize::from(len_results) - 1);
913
let slot0 = self.layout.temp_to_slot(result0.index())?;
914
Op::return_span(BoundedSlotSpan::new(SlotSpan::new(slot0), len_results))
915
}
0 commit comments