| Index: src/mips/lithium-mips.cc
|
| diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
|
| index 3b3ca689acb6342c5bfbdf95c2a8cd08c3b21430..2f26ee1d1508cfd264f33bb2cbda1b94ceb974cf 100644
|
| --- a/src/mips/lithium-mips.cc
|
| +++ b/src/mips/lithium-mips.cc
|
| @@ -1104,6 +1104,19 @@ LInstruction* LChunkBuilder::DoCallWithDescriptor(
|
| }
|
|
|
|
|
| +LInstruction* LChunkBuilder::DoTailCallThroughMegamorphicCache(
|
| + HTailCallThroughMegamorphicCache* instr) {
|
| + LOperand* context = UseFixed(instr->context(), cp);
|
| + LOperand* receiver_register =
|
| + UseFixed(instr->receiver(), LoadDescriptor::ReceiverRegister());
|
| + LOperand* name_register =
|
| + UseFixed(instr->name(), LoadDescriptor::NameRegister());
|
| + // Not marked as call. It can't deoptimize, and it never returns.
|
| + return new (zone()) LTailCallThroughMegamorphicCache(
|
| + context, receiver_register, name_register);
|
| +}
|
| +
|
| +
|
| LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) {
|
| LOperand* context = UseFixed(instr->context(), cp);
|
| LOperand* function = UseFixed(instr->function(), a1);
|
|
|