Reviewers: dstence, michael_dawson, rmcilroy,

Description:
PPC: [turbofan] Add an InterpreterDispatch linkage type.

Port a0129a25ba2f4d00138887cb2008d5b76e2b0068

[email protected], [email protected], [email protected]
BUG=

Please review this at https://codereview.chromium.org/1232803004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+7, -0 lines):
  M src/compiler/ppc/instruction-selector-ppc.cc
  M src/compiler/ppc/linkage-ppc.cc


Index: src/compiler/ppc/instruction-selector-ppc.cc
diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc index 0fe2acb369bbec610c182371f255cb1658f770f6..3499fe439405b92dbf88dc68aa214cec311fe393 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:
Index: src/compiler/ppc/linkage-ppc.cc
diff --git a/src/compiler/ppc/linkage-ppc.cc b/src/compiler/ppc/linkage-ppc.cc index 677e9d0e6c6c609bafdd89ed0d142afbd4898bf9..ebea4452aea62c7230ad263dff0e3de0dc89f50d 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


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to