1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix DataLayout::operator==().

Patch by Maks Naumov!

llvm-svn: 206911
This commit is contained in:
Rafael Espindola 2014-04-22 17:47:03 +00:00
parent 223e66dc63
commit 9639d4700f
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -1 +1 @@
target datalayout = "E"
target datalayout = "e-p:16:16"