From 3ed7d37cbf5391aefab75205d95b3ac2077f1203 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Wed, 10 Sep 2008 13:11:09 +0000 Subject: [PATCH] Add trampoline support for the new FastCC calling 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 3a7ec4f8f25..c306fd4891b 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -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; -- 2.34.1