OSDN Git Service

Add trampoline support for the new FastCC calling
authorDuncan Sands <baldrick@free.fr>
Wed, 10 Sep 2008 13:11:09 +0000 (13:11 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 10 Sep 2008 13:11:09 +0000 (13:11 +0000)
convention (not related to recent Ada testsuite
failures).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56054 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 3a7ec4f..c306fd4 100644 (file)
@@ -5717,6 +5717,7 @@ SDValue X86TargetLowering::LowerTRAMPOLINE(SDValue Op,
       break;
     }
     case CallingConv::X86_FastCall:
+    case CallingConv::FastCC:
       // Pass 'nest' parameter in EAX.
       // Must be kept in sync with X86CallingConv.td
       NestReg = X86::EAX;