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:
parent
b33d6c0d46
commit
5783dc71af
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user