From 117c89b9eef7404385e989574cd2b452eff49968 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 28 Feb 2009 19:10:31 -0700 Subject: [PATCH] change == to <= in moveCR2 since we only need to ensure dstSize is no more than the word size --- src/powerpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/powerpc.cpp b/src/powerpc.cpp index d6f528381d..0cc139e7ed 100644 --- a/src/powerpc.cpp +++ b/src/powerpc.cpp @@ -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)) {