From: Eric Christopher Date: Tue, 2 Dec 2014 21:57:15 +0000 (+0000) Subject: Make sure that the TargetOptions operator== is checking the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9643005b500b571b1ac7d3563962ee9cdc71fbe3;p=oota-llvm.git Make sure that the TargetOptions operator== is checking the full contents of the class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223159 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h index 73014d846f3..9ab8242578f 100644 --- a/include/llvm/Target/TargetOptions.h +++ b/include/llvm/Target/TargetOptions.h @@ -288,6 +288,12 @@ inline bool operator==(const TargetOptions &LHS, 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 }