| Index: src/ia32/lithium-ia32.cc
|
| diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc
|
| index 64677de83d4fd87939b022449f690173e922eacd..77b5de726bc325648a411e990d50c9371c50ec86 100644
|
| --- a/src/ia32/lithium-ia32.cc
|
| +++ b/src/ia32/lithium-ia32.cc
|
| @@ -1616,7 +1616,8 @@ LInstruction* LChunkBuilder::DoAdd(HAdd* instr) {
|
| return DoArithmeticD(Token::ADD, instr);
|
| } 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));
|
| bool use_lea = LAddI::UseLea(instr);
|
| LOperand* left = UseRegisterAtStart(instr->left());
|
|
|