change == to <= in moveCR2 since we only need to ensure dstSize is no more than the word size

This commit is contained in:
Joel Dice 2009-02-28 19:10:31 -07:00
parent 93ebb571b3
commit 117c89b9ee

View File

@ -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)) {