Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index ee008a047cb6c874aa77673759a52770680f3573..791faa2660a3517911c2edb926543349408745c9 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2247,7 +2247,9 @@ void LCodeGen::DoCompareNumericAndBranch(LCompareNumericAndBranch* instr) { |
LOperand* left = instr->left(); |
LOperand* right = instr->right(); |
bool is_unsigned = |
- instr->is_double() || instr->hydrogen()->CheckFlag(HInstruction::kUint32); |
+ instr->is_double() || |
+ instr->hydrogen()->left()->CheckFlag(HInstruction::kUint32) || |
+ instr->hydrogen()->right()->CheckFlag(HInstruction::kUint32); |
Condition cc = TokenToCondition(instr->op(), is_unsigned); |
if (left->IsConstantOperand() && right->IsConstantOperand()) { |