mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 15:39:06 +00:00
Fix DataLayout::operator==().
Patch by Maks Naumov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206911 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
29c96f133e
commit
1021014c7b
@ -357,7 +357,7 @@ bool DataLayout::operator==(const DataLayout &Other) const {
|
||||
StackNaturalAlign == Other.StackNaturalAlign &&
|
||||
ManglingMode == Other.ManglingMode &&
|
||||
LegalIntWidths == Other.LegalIntWidths &&
|
||||
Alignments == Other.Alignments && Pointers == Pointers;
|
||||
Alignments == Other.Alignments && Pointers == Other.Pointers;
|
||||
assert(Ret == (getStringRepresentation() == Other.getStringRepresentation()));
|
||||
return Ret;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
target datalayout = "E"
|
||||
target datalayout = "e-p:16:16"
|
||||
|
Loading…
Reference in New Issue
Block a user