fix thinko in addC for zero constant case

This commit is contained in:
Joel Dice 2009-03-08 20:55:54 -06:00
parent 68ed5e6cb5
commit 4347228585

View File

@ -709,7 +709,7 @@ void addC(Context* con, unsigned size, Const* a, Reg* b, Reg* t) {
if(not isInt16(i))
issue(con, addis(R(t), R(t), hi16(i) + carry16(i)));
} else {
moveCR(con, size, a, size, t);
moveRR(con, size, b, size, t);
}
}