diff options
Diffstat (limited to 'src/gc/env/gcenv.object.h')
-rw-r--r-- | src/gc/env/gcenv.object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gc/env/gcenv.object.h b/src/gc/env/gcenv.object.h index c999e4538e..db8995a118 100644 --- a/src/gc/env/gcenv.object.h +++ b/src/gc/env/gcenv.object.h @@ -31,6 +31,8 @@ public: void ClrGCBit() { m_uSyncBlockValue &= ~BIT_SBLK_GC_RESERVE; } }; +static_assert(sizeof(ObjHeader) == sizeof(uintptr_t), "this assumption is made by the VM!"); + #define MTFlag_ContainsPointers 1 #define MTFlag_HasFinalizer 2 #define MTFlag_IsArray 4 |