PPC: [turbofan] Add an InterpreterDispatch linkage type.

Port a0129a25ba

R=rmcilroy@chromium.org, dstence@us.ibm.com, michael_dawson@ca.ibm.com
BUG=

Review URL: https://codereview.chromium.org/1232803004

Cr-Commit-Position: refs/heads/master@{#29620}
This commit is contained in:
mbrandy 2015-07-13 10:21:39 -07:00 committed by Commit bot
parent b33d6c0d46
commit 5783dc71af
2 changed files with 7 additions and 0 deletions

View File

@ -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:

View File

@ -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