diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-04-04 00:49:24 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-04-04 00:49:24 +0000 |
commit | c847824e8ee2e088054044175caf2e2dc239f6fa (patch) | |
tree | 89e5f62e262c75a4d0604ff2748d2a73d9bcf998 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6953ef2de342dbaa1e0a1c57419686762f10f90a (diff) | |
download | bcm5719-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.cpp | 3 |
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 |