mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Remove dead method.
llvm-svn: 165889
This commit is contained in:
parent
e37f43db47
commit
0bbe1f34e1
@ -119,6 +119,9 @@ public:
|
||||
Builder &removeAttribute(Attributes::AttrVal Val);
|
||||
|
||||
void addAlignmentAttr(unsigned Align);
|
||||
|
||||
/// addStackAlignmentAttr - This turns an int stack alignment (which must be
|
||||
/// a power of 2) into the form used internally in Attributes.
|
||||
void addStackAlignmentAttr(unsigned Align);
|
||||
|
||||
void removeAttributes(const Attributes &A);
|
||||
@ -238,18 +241,6 @@ public:
|
||||
return Attributes((Log2_32(i)+1) << 16);
|
||||
}
|
||||
|
||||
/// constructStackAlignmentFromInt - This turns an int stack alignment (which
|
||||
/// must be a power of 2) into the form used internally in Attributes.
|
||||
static Attributes constructStackAlignmentFromInt(unsigned i) {
|
||||
// Default alignment, allow the target to define how to align it.
|
||||
if (i == 0)
|
||||
return Attributes();
|
||||
|
||||
assert(isPowerOf2_32(i) && "Alignment must be a power of two.");
|
||||
assert(i <= 0x100 && "Alignment too large.");
|
||||
return Attributes((Log2_32(i)+1) << 26);
|
||||
}
|
||||
|
||||
/// @brief Which attributes cannot be applied to a type.
|
||||
static Attributes typeIncompatible(Type *Ty);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user