small fix

This commit is contained in:
mlokr 2024-09-02 02:45:03 +02:00
parent c63fc01d4e
commit e221a28a46

View file

@ -1549,7 +1549,10 @@ impl Codegen {
let len = self.output.code.len() as u32;
for mut rel in self.ci.ret_relocs.drain(ret_reloc_base..) {
rel.offset += self.ci.snap.code as u32;
#[cfg(debug_assertions)]
{
rel.shifted = true;
}
rel.apply_jump(&mut self.output.code, len);
}