mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
fix thinko in addC for zero constant case
This commit is contained in:
parent
68ed5e6cb5
commit
4347228585
@ -709,7 +709,7 @@ void addC(Context* con, unsigned size, Const* a, Reg* b, Reg* t) {
|
|||||||
if(not isInt16(i))
|
if(not isInt16(i))
|
||||||
issue(con, addis(R(t), R(t), hi16(i) + carry16(i)));
|
issue(con, addis(R(t), R(t), hi16(i) + carry16(i)));
|
||||||
} else {
|
} else {
|
||||||
moveCR(con, size, a, size, t);
|
moveRR(con, size, b, size, t);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user