| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 34e5838557a0ee528fad7b574c42be8aad570f08..d26da4a0c45c8cfa242eff5d752d8b164af80084 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -1587,6 +1587,15 @@ LInstruction* LChunkBuilder::DoAdd(HAdd* instr) {
|
| result = AssignEnvironment(result);
|
| }
|
| return result;
|
| + } else if (instr->representation().IsExternal()) {
|
| + ASSERT(instr->left()->representation().IsExternal());
|
| + ASSERT(instr->right()->representation().IsInteger32());
|
| + ASSERT(!instr->CheckFlag(HValue::kCanOverflow));
|
| + LOperand* left = UseRegisterAtStart(instr->left());
|
| + LOperand* right = UseOrConstantAtStart(instr->right());
|
| + LAddI* add = new(zone()) LAddI(left, right);
|
| + LInstruction* result = DefineAsRegister(add);
|
| + return result;
|
| } else if (instr->representation().IsDouble()) {
|
| if (kArchVariant == kMips32r2) {
|
| if (instr->left()->IsMul())
|
|
|