We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a70f8d commit 41e1dc4Copy full SHA for 41e1dc4
1 file changed
compiler/rustc_codegen_llvm/src/va_arg.rs
@@ -994,7 +994,7 @@ fn emit_xtensa_va_arg<'ll, 'tcx>(
994
995
// let offset_next_corrected = offset_corrected + slot_size;
996
// va_ndx = offset_next_corrected;
997
- let offset_next_corrected = bx.add(offset_next, bx.const_i32(slot_size));
+ let offset_next_corrected = bx.add(offset_corrected, bx.const_i32(slot_size));
998
// update va_ndx
999
bx.store(offset_next_corrected, offset_ptr, ptr_align_abi);
1000
0 commit comments