| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index f1710bd561036c290ba54f0c581f0ce876b4dc62..fe4a09c3aff67af40dd612f1c50c5302b9c309b4 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1620,7 +1620,7 @@ LInstruction* LChunkBuilder::DoAdd(HAdd* instr) {
|
| return result;
|
| } 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());
|
|
|