Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index dc28f8d9a284d1f5ab3bd36c8f6fe93b1b1a465d..57c24b1988076b33393517e31c77691901bc7d99 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -888,7 +888,8 @@ LInstruction* LChunkBuilder::DoAdd(HAdd* instr) { |
return result; |
} else if (instr->representation().IsExternal()) { |
DCHECK(instr->left()->representation().IsExternal()); |
- DCHECK(instr->right()->representation().IsInteger32()); |
+ DCHECK(instr->right()->representation().IsInteger32() || |
+ instr->right()->representation().IsTagged()); |
DCHECK(!instr->CheckFlag(HValue::kCanOverflow)); |
LOperand* left = UseRegisterAtStart(instr->left()); |
LOperand* right = UseRegisterOrConstantAtStart(instr->right()); |