From ee743a7bd51a327b692a557759c37553ac4760e2 Mon Sep 17 00:00:00 2001 From: Fei Peng Date: Wed, 6 Dec 2017 20:01:18 -0800 Subject: new intrinsic type support (#15340) --- src/vm/methodtable.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/vm/methodtable.h') diff --git a/src/vm/methodtable.h b/src/vm/methodtable.h index e5fd7fad07..c23117335b 100644 --- a/src/vm/methodtable.h +++ b/src/vm/methodtable.h @@ -1398,6 +1398,18 @@ public: SetFlag(enum_flag_HasModuleDependencies); } + inline BOOL IsIntrinsicType() + { + LIMITED_METHOD_DAC_CONTRACT;; + return GetFlag(enum_flag_IsIntrinsicType); + } + + inline void SetIsIntrinsicType() + { + LIMITED_METHOD_DAC_CONTRACT;; + SetFlag(enum_flag_IsIntrinsicType); + } + // See the comment in code:MethodTable.DoFullyLoad for detailed description. inline BOOL DependsOnEquivalentOrForwardedStructs() { @@ -4003,7 +4015,7 @@ private: enum_flag_HasModuleDependencies = 0x0080, - // enum_Unused = 0x0100, + enum_flag_IsIntrinsicType = 0x0100, enum_flag_RequiresDispatchTokenFat = 0x0200, -- cgit v1.2.3