1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Removed old testing code

This commit is contained in:
Brian Fiete 2020-09-04 08:58:44 -07:00
parent 7400e7099c
commit 7f0de2d53d

View file

@ -300,18 +300,8 @@ namespace System
public ~this()
{
//TODO: Remove this!
//char8* checkPtr = (char8*)(void*)this + ((System.Reflection.TypeInstance)typeof(String)).mInstSize;
if (IsDynAlloc)
delete:this mPtr;
/*else if ((mPtr == checkPtr) && (*(int*)(void*)this & 8 == 0))
{
if (mPtr[mAllocSizeAndFlags] != 0xBF)
{
throw new Exception();
}
}*/
}
void FakeMethod ()