diff options
author | Dale Johannesen <dalej@apple.com> | 2009-08-26 01:08:21 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2009-08-26 01:08:21 +0000 |
commit | 2aaf5395640d33eb2db8b7c41829e23459ab54f6 (patch) | |
tree | 1dda5eb2c9e6235d3d26225d0348856a9c6c3d29 /llvm/lib/Target/CppBackend/CPPBackend.cpp | |
parent | a1b4dd96f298008e10f5ff09cf7b25556fab96b8 (diff) | |
download | bcm5719-llvm-2aaf5395640d33eb2db8b7c41829e23459ab54f6.tar.gz bcm5719-llvm-2aaf5395640d33eb2db8b7c41829e23459ab54f6.zip |
Add an 'inline hint' attribute to represent source
code hints that it would be a good idea to inline
a function ("inline" keyword). No functional change
yet; FEs do not emit this and inliner does not use it.
llvm-svn: 80063
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r-- | llvm/lib/Target/CppBackend/CPPBackend.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp index bebad667967..e9b3aa901d0 100644 --- a/llvm/lib/Target/CppBackend/CPPBackend.cpp +++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp @@ -472,6 +472,7 @@ namespace { HANDLE_ATTR(Nest); HANDLE_ATTR(ReadNone); HANDLE_ATTR(ReadOnly); + HANDLE_ATTR(InlineHint); HANDLE_ATTR(NoInline); HANDLE_ATTR(AlwaysInline); HANDLE_ATTR(OptimizeForSize); |