mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
change == to <= in moveCR2 since we only need to ensure dstSize is no more than the word size
This commit is contained in:
parent
93ebb571b3
commit
117c89b9ee
@ -910,7 +910,7 @@ void
|
||||
moveCR2(Context* c, unsigned, Assembler::Constant* src,
|
||||
unsigned dstSize, Assembler::Register* dst, unsigned promiseOffset)
|
||||
{
|
||||
if (dstSize == 4) {
|
||||
if (dstSize <= 4) {
|
||||
if (src->value->resolved()) {
|
||||
int32_t v = src->value->value();
|
||||
if (isInt16(v)) {
|
||||
|
Loading…
Reference in New Issue
Block a user