Add trampoline support for the new FastCC calling
convention (not related to recent Ada testsuite
failures).
llvm-svn: 56054
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index 3a7ec4f..c306fd4 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -5717,6 +5717,7 @@
break;
}
case CallingConv::X86_FastCall:
+ case CallingConv::FastCC:
// Pass 'nest' parameter in EAX.
// Must be kept in sync with X86CallingConv.td
NestReg = X86::EAX;