small fix

This commit is contained in:
mlokr 2024-09-02 02:45:03 +02:00
parent ad3fc1190c
commit a78d2bc3e9
No known key found for this signature in database
GPG key ID: DEA147DDEE644993

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);
}