summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-01-15 21:36:30 +0000
committerEric Christopher <echristo@apple.com>2010-01-15 21:36:30 +0000
commit8444d7536c9f0f1b3a513e5efbbef9529c39ce23 (patch)
tree99da6426a5da9b1f9d03fe229044bae65543768a /llvm/include
parent7fe6e9c2f1d1eb41a9887adcadedc2a06d1b1fbe (diff)
downloadbcm5719-llvm-8444d7536c9f0f1b3a513e5efbbef9529c39ce23.tar.gz
bcm5719-llvm-8444d7536c9f0f1b3a513e5efbbef9529c39ce23.zip
Remove the InlineHint attribute. There are no current or planned
users. llvm-svn: 93558
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm-c/Core.h3
-rw-r--r--llvm/include/llvm/Attributes.h4
2 files changed, 2 insertions, 5 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 687920549c1..7824729f311 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -117,8 +117,7 @@ typedef enum {
LLVMNoCaptureAttribute = 1<<21,
LLVMNoRedZoneAttribute = 1<<22,
LLVMNoImplicitFloatAttribute = 1<<23,
- LLVMNakedAttribute = 1<<24,
- LLVMInlineHintAttribute = 1<<25
+ LLVMNakedAttribute = 1<<24
} LLVMAttribute;
typedef enum {
diff --git a/llvm/include/llvm/Attributes.h b/llvm/include/llvm/Attributes.h
index 068f81fc7de..7fa5d4ae6bd 100644
--- a/llvm/include/llvm/Attributes.h
+++ b/llvm/include/llvm/Attributes.h
@@ -58,8 +58,6 @@ const Attributes NoRedZone = 1<<22; /// disable redzone
const Attributes NoImplicitFloat = 1<<23; /// disable implicit floating point
/// instructions.
const Attributes Naked = 1<<24; ///< Naked function
-const Attributes InlineHint = 1<<25; ///< source said inlining was
- ///desirable
/// @brief Attributes that only apply to function parameters.
const Attributes ParameterOnly = ByVal | Nest | StructRet | NoCapture;
@@ -68,7 +66,7 @@ const Attributes ParameterOnly = ByVal | Nest | StructRet | NoCapture;
/// be used on return values or function parameters.
const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly |
NoInline | AlwaysInline | OptimizeForSize | StackProtect | StackProtectReq |
- NoRedZone | NoImplicitFloat | Naked | InlineHint;
+ NoRedZone | NoImplicitFloat | Naked;
/// @brief Parameter attributes that do not apply to vararg call arguments.
const Attributes VarArgsIncompatible = StructRet;
OpenPOWER on IntegriCloud