Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 7a3c373a452e48a71237d074a1e9854785cd095c..b94020cbea70c3e4f4f7d431ab07add4d96ab3ae 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1629,8 +1629,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()); |