fixed another buga
This commit is contained in:
parent
da58a5926d
commit
c6c2d7e479
|
@ -2373,7 +2373,7 @@ impl Codegen {
|
||||||
let tmp = self.ci.regs.allocate();
|
let tmp = self.ci.regs.allocate();
|
||||||
let off = self.opt_stack_reloc(ssta.as_ref(), soff, 3);
|
let off = self.opt_stack_reloc(ssta.as_ref(), soff, 3);
|
||||||
self.ci.emit(ld(tmp.get(), src.get(), off, size as _));
|
self.ci.emit(ld(tmp.get(), src.get(), off, size as _));
|
||||||
let off = self.opt_stack_reloc(dsta.as_ref(), soff, 3);
|
let off = self.opt_stack_reloc(dsta.as_ref(), doff, 3);
|
||||||
self.ci.emit(st(tmp.get(), dst.get(), off, size as _));
|
self.ci.emit(st(tmp.get(), dst.get(), off, size as _));
|
||||||
self.ci.regs.free(tmp);
|
self.ci.regs.free(tmp);
|
||||||
break 'a;
|
break 'a;
|
||||||
|
|
5900
lang/src/son.rs
5900
lang/src/son.rs
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue