Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 0b9411bf7776cc8053e8833ec878ce0d9e2f229a..3614aa39d2ee5e44cddacda1d4686f587341ff3d 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2368,7 +2368,8 @@ Condition LCodeGen::TokenToCondition(Token::Value op, bool is_unsigned) { |
void LCodeGen::DoCompareNumericAndBranch(LCompareNumericAndBranch* instr) { |
LOperand* left = instr->left(); |
LOperand* right = instr->right(); |
- Condition cond = TokenToCondition(instr->op(), false); |
+ bool is_unsigned = instr->hydrogen()->CheckFlag(HInstruction::kUint32); |
+ Condition cond = TokenToCondition(instr->op(), is_unsigned); |
if (left->IsConstantOperand() && right->IsConstantOperand()) { |
// We can statically evaluate the comparison. |