[llvm] r223159 - Make sure that the TargetOptions operator== is checking the
Eric Christopher
echristo at gmail.com
Tue Dec 2 13:57:15 PST 2014
Author: echristo
Date: Tue Dec 2 15:57:15 2014
New Revision: 223159
URL: http://llvm.org/viewvc/llvm-project?rev=223159&view=rev
Log:
Make sure that the TargetOptions operator== is checking the
full contents of the class.
Modified:
llvm/trunk/include/llvm/Target/TargetOptions.h
Modified: llvm/trunk/include/llvm/Target/TargetOptions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetOptions.h?rev=223159&r1=223158&r2=223159&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetOptions.h (original)
+++ llvm/trunk/include/llvm/Target/TargetOptions.h Tue Dec 2 15:57:15 2014
@@ -288,6 +288,12 @@ inline bool operator==(const TargetOptio
ARE_EQUAL(TrapFuncName) &&
ARE_EQUAL(FloatABIType) &&
ARE_EQUAL(AllowFPOpFusion) &&
+ ARE_EQUAL(JTType) &&
+ ARE_EQUAL(FCFI) &&
+ ARE_EQUAL(ThreadModel) &&
+ ARE_EQUAL(CFIType) &&
+ ARE_EQUAL(CFIEnforcing) &&
+ ARE_EQUAL(CFIFuncName) &&
ARE_EQUAL(MCOptions);
#undef ARE_EQUAL
}
More information about the llvm-commits
mailing list