mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-05 02:07:56 +00:00
Remove unused methods.
llvm-svn: 164848
This commit is contained in:
parent
b781a853b1
commit
3072860a8f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user