From 1102f4282ceb430dbc9fcedb9dd2ad25898a09e8 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sat, 4 Apr 2009 00:49:24 +0000 Subject: Basic support for regparm codegen git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68414 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.cpp') diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index b92776face..b4cf533186 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -296,9 +296,6 @@ void CodeGenModule::SetFunctionAttributes(const Decl *D, if (D->getAttr()) F->setCallingConv(llvm::CallingConv::X86_StdCall); - - if (D->getAttr()) - ErrorUnsupported(D, "regparm attribute"); } /// SetFunctionAttributesForDefinition - Set function attributes -- cgit v1.2.3