From: Sergey Andreenko Date: Sat, 1 Apr 2017 01:12:53 +0000 (-0700) Subject: delete wrong and unused value (dotnet/coreclr#10634) X-Git-Tag: submit/tizen/20210909.063632~11030^2~7467 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb04669dd312f7288083e2edf31268b56aa7949c;p=platform%2Fupstream%2Fdotnet%2Fruntime.git delete wrong and unused value (dotnet/coreclr#10634) Commit migrated from https://github.com/dotnet/coreclr/commit/7877d56386b1af67200640dfb054d71a797a4c18 --- 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