mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-04 02:24:29 +00:00
Remove unused methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -205,9 +205,6 @@ public:
|
|||||||
void addStackProtectReqAttr() {
|
void addStackProtectReqAttr() {
|
||||||
Bits |= Attribute::StackProtectReq_i;
|
Bits |= Attribute::StackProtectReq_i;
|
||||||
}
|
}
|
||||||
void addAlignmentAttr() {
|
|
||||||
Bits |= Attribute::Alignment_i;
|
|
||||||
}
|
|
||||||
void addNoCaptureAttr() {
|
void addNoCaptureAttr() {
|
||||||
Bits |= Attribute::NoCapture_i;
|
Bits |= Attribute::NoCapture_i;
|
||||||
}
|
}
|
||||||
@ -226,9 +223,6 @@ public:
|
|||||||
void addReturnsTwiceAttr() {
|
void addReturnsTwiceAttr() {
|
||||||
Bits |= Attribute::ReturnsTwice_i;
|
Bits |= Attribute::ReturnsTwice_i;
|
||||||
}
|
}
|
||||||
void addStackAlignmentAttr() {
|
|
||||||
Bits |= Attribute::StackAlignment_i;
|
|
||||||
}
|
|
||||||
void addUWTableAttr() {
|
void addUWTableAttr() {
|
||||||
Bits |= Attribute::UWTable_i;
|
Bits |= Attribute::UWTable_i;
|
||||||
}
|
}
|
||||||
@ -244,7 +238,7 @@ public:
|
|||||||
assert(Align <= 0x40000000 && "Alignment too large.");
|
assert(Align <= 0x40000000 && "Alignment too large.");
|
||||||
Bits |= (Log2_32(Align) + 1) << 16;
|
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.
|
// Default alignment, allow the target to define how to align it.
|
||||||
if (Align == 0) return;
|
if (Align == 0) return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user