mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 15:08:16 +00:00
Fix extra whitespace / formatting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185238 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
37cb687fcb
commit
2d6e3bd881
@ -244,6 +244,7 @@ public:
|
||||
}
|
||||
return val->second.ABIAlign;
|
||||
}
|
||||
|
||||
/// Return target's alignment for stack-based pointers
|
||||
/// FIXME: The defaults need to be removed once all of
|
||||
/// the backends/clients are updated.
|
||||
|
@ -200,9 +200,7 @@ static unsigned inBytes(unsigned Bits) {
|
||||
}
|
||||
|
||||
void DataLayout::parseSpecifier(StringRef Desc) {
|
||||
|
||||
while (!Desc.empty()) {
|
||||
|
||||
// Split at '-'.
|
||||
std::pair<StringRef, StringRef> Split = split(Desc, '-');
|
||||
Desc = Split.second;
|
||||
@ -582,7 +580,6 @@ unsigned DataLayout::getABIIntegerTypeAlignment(unsigned BitWidth) const {
|
||||
return getAlignmentInfo(INTEGER_ALIGN, BitWidth, true, 0);
|
||||
}
|
||||
|
||||
|
||||
unsigned DataLayout::getCallFrameTypeAlignment(Type *Ty) const {
|
||||
for (unsigned i = 0, e = Alignments.size(); i != e; ++i)
|
||||
if (Alignments[i].AlignType == STACK_ALIGN)
|
||||
|
Loading…
x
Reference in New Issue
Block a user