1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Remove unused methods.

llvm-svn: 164848
This commit is contained in:
Bill Wendling 2012-09-28 21:22:24 +00:00
parent b781a853b1
commit 3072860a8f

View File

@ -205,9 +205,6 @@ public:
void addStackProtectReqAttr() {
Bits |= Attribute::StackProtectReq_i;
}
void addAlignmentAttr() {
Bits |= Attribute::Alignment_i;
}
void addNoCaptureAttr() {
Bits |= Attribute::NoCapture_i;
}
@ -226,9 +223,6 @@ public:
void addReturnsTwiceAttr() {
Bits |= Attribute::ReturnsTwice_i;
}
void addStackAlignmentAttr() {
Bits |= Attribute::StackAlignment_i;
}
void addUWTableAttr() {
Bits |= Attribute::UWTable_i;
}
@ -244,7 +238,7 @@ public:
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;