| Index: src/x87/lithium-x87.cc
|
| diff --git a/src/x87/lithium-x87.cc b/src/x87/lithium-x87.cc
|
| index 301f128e11afec06245c512b7456e20297856af7..f421c4addf381d4f49e8b99b398ebb6cdf15ade8 100644
|
| --- a/src/x87/lithium-x87.cc
|
| +++ b/src/x87/lithium-x87.cc
|
| @@ -1639,8 +1639,7 @@ LInstruction* LChunkBuilder::DoAdd(HAdd* instr) {
|
| } else if (instr->representation().IsDouble()) {
|
| return DoArithmeticD(Token::ADD, instr);
|
| } else if (instr->representation().IsExternal()) {
|
| - DCHECK(instr->left()->representation().IsExternal());
|
| - DCHECK(instr->right()->representation().IsInteger32());
|
| + DCHECK(instr->IsConsistentExternalRepresentation());
|
| DCHECK(!instr->CheckFlag(HValue::kCanOverflow));
|
| bool use_lea = LAddI::UseLea(instr);
|
| LOperand* left = UseRegisterAtStart(instr->left());
|
|
|