| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 43631977bbf63f1ff647b0bea7f1294441c0a5d7..ef1cf79ffe1eeec4e25aa90a7328e41a84318472 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1709,9 +1709,8 @@ LInstruction* LChunkBuilder::DoCompareNumericAndBranch(
|
| HCompareNumericAndBranch* instr) {
|
| Representation r = instr->representation();
|
| if (r.IsSmiOrInteger32()) {
|
| - ASSERT(instr->left()->representation().IsSmiOrInteger32());
|
| - ASSERT(instr->left()->representation().Equals(
|
| - instr->right()->representation()));
|
| + ASSERT(instr->left()->representation().Equals(r));
|
| + ASSERT(instr->right()->representation().Equals(r));
|
| LOperand* left = UseRegisterOrConstantAtStart(instr->left());
|
| LOperand* right = UseRegisterOrConstantAtStart(instr->right());
|
| return new(zone()) LCompareNumericAndBranch(left, right);
|
|
|