Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 2d72687d31c77c25cb6a39869cbcf0731e635bc0..c0f3f4097a217fef2bc23e6e33fa7815afe41463 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1676,7 +1676,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)); |
LOperand* left = UseRegisterAtStart(instr->left()); |
LOperand* right = UseOrConstantAtStart(instr->right()); |