diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-04-22 17:47:03 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-04-22 17:47:03 +0000 |
commit | 89992b0d6b5548f7cf61b3f8565161f0c159dad2 (patch) | |
tree | 757e1792eb0c68618338aaf3d7c57b868c14b598 /llvm/lib/IR/DataLayout.cpp | |
parent | 953d18a9881a10ead95840790336f05ff95952a6 (diff) | |
download | bcm5719-llvm-89992b0d6b5548f7cf61b3f8565161f0c159dad2.tar.gz bcm5719-llvm-89992b0d6b5548f7cf61b3f8565161f0c159dad2.zip |
Fix DataLayout::operator==().
Patch by Maks Naumov!
llvm-svn: 206911
Diffstat (limited to 'llvm/lib/IR/DataLayout.cpp')
-rw-r--r-- | llvm/lib/IR/DataLayout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DataLayout.cpp b/llvm/lib/IR/DataLayout.cpp index d85081629cf..7c3bc3df6d1 100644 --- a/llvm/lib/IR/DataLayout.cpp +++ b/llvm/lib/IR/DataLayout.cpp @@ -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; } |