forked from AbleOS/holey-bytes
small fix
This commit is contained in:
parent
ad3fc1190c
commit
a78d2bc3e9
|
@ -1549,7 +1549,10 @@ impl Codegen {
|
||||||
let len = self.output.code.len() as u32;
|
let len = self.output.code.len() as u32;
|
||||||
for mut rel in self.ci.ret_relocs.drain(ret_reloc_base..) {
|
for mut rel in self.ci.ret_relocs.drain(ret_reloc_base..) {
|
||||||
rel.offset += self.ci.snap.code as u32;
|
rel.offset += self.ci.snap.code as u32;
|
||||||
rel.shifted = true;
|
#[cfg(debug_assertions)]
|
||||||
|
{
|
||||||
|
rel.shifted = true;
|
||||||
|
}
|
||||||
rel.apply_jump(&mut self.output.code, len);
|
rel.apply_jump(&mut self.output.code, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue