[llvm-commits] [llvm] r164848 - /llvm/trunk/include/llvm/Attributes.h
Bill Wendling
isanbard at gmail.com
Fri Sep 28 14:22:24 PDT 2012
Author: void
Date: Fri Sep 28 16:22:24 2012
New Revision: 164848
URL: http://llvm.org/viewvc/llvm-project?rev=164848&view=rev
Log:
Remove unused methods.
Modified:
llvm/trunk/include/llvm/Attributes.h
Modified: llvm/trunk/include/llvm/Attributes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Attributes.h?rev=164848&r1=164847&r2=164848&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Attributes.h (original)
+++ llvm/trunk/include/llvm/Attributes.h Fri Sep 28 16:22:24 2012
@@ -205,9 +205,6 @@
void addStackProtectReqAttr() {
Bits |= Attribute::StackProtectReq_i;
}
- void addAlignmentAttr() {
- Bits |= Attribute::Alignment_i;
- }
void addNoCaptureAttr() {
Bits |= Attribute::NoCapture_i;
}
@@ -226,9 +223,6 @@
void addReturnsTwiceAttr() {
Bits |= Attribute::ReturnsTwice_i;
}
- void addStackAlignmentAttr() {
- Bits |= Attribute::StackAlignment_i;
- }
void addUWTableAttr() {
Bits |= Attribute::UWTable_i;
}
@@ -244,7 +238,7 @@
assert(Align <= 0x40000000 && "Alignment too large.");
Bits |= (Log2_32(Align) + 1) << 16;
}
- void addStackAlignment(unsigned Align) {
+ void addStackAlignmentAttr(unsigned Align) {
// Default alignment, allow the target to define how to align it.
if (Align == 0) return;
More information about the llvm-commits
mailing list