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:
Rafael Espindola 2014-04-22 17:47:03 +00:00
parent 29c96f133e
commit 1021014c7b
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"