From cb04669dd312f7288083e2edf31268b56aa7949c Mon Sep 17 00:00:00 2001 From: Sergey Andreenko Date: Fri, 31 Mar 2017 18:12:53 -0700 Subject: [PATCH] delete wrong and unused value (dotnet/coreclr#10634) Commit migrated from https://github.com/dotnet/coreclr/commit/7877d56386b1af67200640dfb054d71a797a4c18 --- src/coreclr/src/jit/_typeinfo.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/coreclr/src/jit/_typeinfo.h b/src/coreclr/src/jit/_typeinfo.h index 08273ad..918e0a3 100755 --- a/src/coreclr/src/jit/_typeinfo.h +++ b/src/coreclr/src/jit/_typeinfo.h @@ -27,8 +27,7 @@ enum ti_types #define DEF_TI(ti, nm) ti, #include "titypes.h" #undef DEF_TI - TI_ONLY_ENUM = TI_METHOD, // Enum values above this are completely described by the enumeration - TI_COUNT + TI_ONLY_ENUM = TI_METHOD, // Enum values with greater value are completely described by the enumeration. }; #if defined(_TARGET_64BIT_) @@ -190,8 +189,6 @@ inline ti_types JITtype2tiType(CorInfoType type) * */ -// TI_COUNT is less than or equal to TI_FLAG_DATA_MASK - #define TI_FLAG_DATA_BITS 6 #define TI_FLAG_DATA_MASK ((1 << TI_FLAG_DATA_BITS) - 1) @@ -287,7 +284,7 @@ private: union { struct { - ti_types type : 6; + ti_types type : TI_FLAG_DATA_BITS; unsigned uninitobj : 1; // used unsigned byref : 1; // used unsigned byref_readonly : 1; // used -- 2.7.4