| Index: src/ppc/lithium-ppc.cc
|
| diff --git a/src/ppc/lithium-ppc.cc b/src/ppc/lithium-ppc.cc
|
| index 4f15a60d5de9a45ca51a664b05782aa09ec95b04..e68adbc27042edce121f6d316c8c598d233f1631 100644
|
| --- a/src/ppc/lithium-ppc.cc
|
| +++ b/src/ppc/lithium-ppc.cc
|
| @@ -1632,7 +1632,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 = UseOrConstantAtStart(instr->right());
|
|
|