diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc index 0fe2acb369..3499fe4394 100644 --- a/src/compiler/ppc/instruction-selector-ppc.cc +++ b/src/compiler/ppc/instruction-selector-ppc.cc @@ -1547,6 +1547,7 @@ void InstructionSelector::VisitTailCall(Node* node) { InstructionCode opcode; switch (descriptor->kind()) { case CallDescriptor::kCallCodeObject: + case CallDescriptor::kInterpreterDispatch: opcode = kArchTailCallCodeObject; break; case CallDescriptor::kCallJSFunction: diff --git a/src/compiler/ppc/linkage-ppc.cc b/src/compiler/ppc/linkage-ppc.cc index 677e9d0e6c..ebea4452ae 100644 --- a/src/compiler/ppc/linkage-ppc.cc +++ b/src/compiler/ppc/linkage-ppc.cc @@ -67,6 +67,12 @@ CallDescriptor* Linkage::GetSimplifiedCDescriptor(Zone* zone, return LH::GetSimplifiedCDescriptor(zone, sig); } + +CallDescriptor* Linkage::GetInterpreterDispatchDescriptor( + Zone* zone, const MachineSignature* sig) { + return LH::GetInterpreterDispatchDescriptor(zone, sig); +} + } // namespace compiler } // namespace internal } // namespace v8