fixing the overoptimization
This commit is contained in:
parent
8928888481
commit
8083bcb0e8
|
@ -2209,8 +2209,6 @@ impl Codegen {
|
||||||
},
|
},
|
||||||
left.loc,
|
left.loc,
|
||||||
)
|
)
|
||||||
} else if left.loc.is_ref() && left.loc.is_reg() {
|
|
||||||
(self.loc_to_reg(&left.loc, lsize), self.ci.regs.allocate(), left.loc)
|
|
||||||
} else {
|
} else {
|
||||||
let lhs = self.loc_to_reg(left.loc, lsize);
|
let lhs = self.loc_to_reg(left.loc, lsize);
|
||||||
(lhs.as_ref(), lhs, Loc::default())
|
(lhs.as_ref(), lhs, Loc::default())
|
||||||
|
|
Loading…
Reference in a new issue