From 1021014c7b665d1b7670a234ad3cb4dce90a7a6a Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 22 Apr 2014 17:47:03 +0000 Subject: Fix DataLayout::operator==(). Patch by Maks Naumov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206911 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/DataLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/IR/DataLayout.cpp b/lib/IR/DataLayout.cpp index d85081629c..7c3bc3df6d 100644 --- a/lib/IR/DataLayout.cpp +++ b/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; } -- cgit v1.2.3