diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-14 21:35:16 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-14 21:35:16 +0000 |
commit | 6b2a61d3a5c1c1ac968e0593b8d9151207216882 (patch) | |
tree | d715507a835b34ed4913199e928408bf2d880758 /clang/lib/CodeGen/CGClass.cpp | |
parent | ddc04ef4933dbb176fde074613508d5311d3c338 (diff) | |
download | bcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.tar.gz bcm5719-llvm-6b2a61d3a5c1c1ac968e0593b8d9151207216882.zip |
Revert "Always_inline codegen rewrite" and 2 follow-ups.
Revert "Update cxx-irgen.cpp test to allow signext in alwaysinline functions."
Revert "[CodeGen] Remove wrapper-free always_inline functions from COMDATs"
Revert "Always_inline codegen rewrite."
Reason for revert: PR24793.
llvm-svn: 247620
Diffstat (limited to 'clang/lib/CodeGen/CGClass.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGClass.cpp b/clang/lib/CodeGen/CGClass.cpp index b0916ed3dcb..b11814f21e1 100644 --- a/clang/lib/CodeGen/CGClass.cpp +++ b/clang/lib/CodeGen/CGClass.cpp @@ -1557,7 +1557,7 @@ void CodeGenFunction::EmitDestructorBody(FunctionArgList &Args) { // -fapple-kext must inline any call to this dtor into // the caller's body. if (getLangOpts().AppleKext) - CGM.AddAlwaysInlineFunction(CurFn); + CurFn->addFnAttr(llvm::Attribute::AlwaysInline); break; } |