mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 02:29:18 +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:
parent
74a19f0729
commit
6eec6ffb9b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user