summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-04-04 00:49:24 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-04-04 00:49:24 +0000
commitc847824e8ee2e088054044175caf2e2dc239f6fa (patch)
tree89e5f62e262c75a4d0604ff2748d2a73d9bcf998 /clang/lib/CodeGen/CodeGenModule.cpp
parent6953ef2de342dbaa1e0a1c57419686762f10f90a (diff)
downloadbcm5719-llvm-c847824e8ee2e088054044175caf2e2dc239f6fa.tar.gz
bcm5719-llvm-c847824e8ee2e088054044175caf2e2dc239f6fa.zip
Basic support for regparm codegen
llvm-svn: 68414
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index b92776face0..b4cf5331869 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<StdCallAttr>())
F->setCallingConv(llvm::CallingConv::X86_StdCall);
-
- if (D->getAttr<RegparmAttr>())
- ErrorUnsupported(D, "regparm attribute");
}
/// SetFunctionAttributesForDefinition - Set function attributes
OpenPOWER on IntegriCloud