From 3263d1a8492d5f90146c4b020448f6bf70d61f95 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 19 May 2025 09:02:02 +0200 Subject: [PATCH] Fixed "Tiny" test accidental size increase --- BeefLibs/corlib/src/Runtime.bf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BeefLibs/corlib/src/Runtime.bf b/BeefLibs/corlib/src/Runtime.bf index f140ed5e..c268b863 100644 --- a/BeefLibs/corlib/src/Runtime.bf +++ b/BeefLibs/corlib/src/Runtime.bf @@ -153,12 +153,16 @@ namespace System static void* ClassVData_GetTypeData(ClassVData* classVData) { +#if BF_DBG_RUNTIME #if BF_32_BIT Type type = Type.[Friend]GetType_(classVData.mType2); #else Type type = Type.[Friend]GetType_((.)(classVData.mType >> 32)); #endif return &type.[Friend]mSize; +#else + return null; +#endif } static Type Object_GetType(Object obj)