File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,12 @@ class ObjHeader
36
36
37
37
static_assert (sizeof (ObjHeader) == sizeof(uintptr_t ), "this assumption is made by the VM!");
38
38
39
- #define MTFlag_ContainsPointers 0x0100
40
- #define MTFlag_HasFinalizer 0x0010
41
- #define MTFlag_IsArray 0x0008
42
- #define MTFlag_Collectible 0x1000
43
- #define MTFlag_HasComponentSize 0x8000
39
+ #define MTFlag_ContainsPointers 0x0100
40
+ #define MTFlag_HasCriticalFinalizer 0x0800
41
+ #define MTFlag_HasFinalizer 0x0010
42
+ #define MTFlag_IsArray 0x0008
43
+ #define MTFlag_Collectible 0x1000
44
+ #define MTFlag_HasComponentSize 0x8000
44
45
45
46
class MethodTable
46
47
{
@@ -103,7 +104,7 @@ class MethodTable
103
104
104
105
bool HasCriticalFinalizer ()
105
106
{
106
- return false ;
107
+ return (m_flags & MTFlag_HasCriticalFinalizer) != 0 ;
107
108
}
108
109
109
110
bool IsArray ()
You can’t perform that action at this time.
0 commit comments