From c847824e8ee2e088054044175caf2e2dc239f6fa 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 llvm-svn: 68414 --- clang/lib/CodeGen/CodeGenModule.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index b92776face02..b4cf5331869d 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/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