diff options
author | Eric Christopher <echristo@apple.com> | 2010-03-24 23:35:21 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2010-03-24 23:35:21 +0000 |
commit | 0623e90398153be61226ad19f1b40d3817874526 (patch) | |
tree | 5cca292b1705f9ab75978b8bef12ed3ac9573c3c /include/llvm/Instructions.h | |
parent | 014dc4e7202f88fdd9c255837bf125f891f2f6b6 (diff) | |
download | llvm-0623e90398153be61226ad19f1b40d3817874526.tar.gz llvm-0623e90398153be61226ad19f1b40d3817874526.tar.bz2 llvm-0623e90398153be61226ad19f1b40d3817874526.tar.xz |
Temporarily revert this, it's causing an issue with an internal project.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99451 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r-- | include/llvm/Instructions.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 413a595ab3..2fe1abba13 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -971,13 +971,6 @@ public: unsigned getParamAlignment(unsigned i) const { return AttributeList.getParamAlignment(i); } - - /// @brief Return true if the call should not be inlined. - bool isNoInline() const { return paramHasAttr(~0, Attribute::NoInline); } - void setIsNoInline(bool Value) { - if (Value) addAttribute(~0, Attribute::NoInline); - else removeAttribute(~0, Attribute::NoInline); - } /// @brief Determine if the call does not access memory. bool doesNotAccessMemory() const { @@ -2463,13 +2456,6 @@ public: return AttributeList.getParamAlignment(i); } - /// @brief Return true if the call should not be inlined. - bool isNoInline() const { return paramHasAttr(~0, Attribute::NoInline); } - void setIsNoInline(bool Value) { - if (Value) addAttribute(~0, Attribute::NoInline); - else removeAttribute(~0, Attribute::NoInline); - } - /// @brief Determine if the call does not access memory. bool doesNotAccessMemory() const { return paramHasAttr(~0, Attribute::ReadNone); |