mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
More BF_RUNTIME_DISABLE fixes
This commit is contained in:
parent
375fb2807f
commit
6dc9aeb104
3 changed files with 8 additions and 8 deletions
|
@ -44,18 +44,18 @@ namespace System.Diagnostics
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if BF_ENABLE_OBJECT_DEBUG_FLAGS
|
#if !BF_RUNTIME_DISABLE
|
||||||
|
[CallingConvention(.Cdecl)]
|
||||||
|
static extern void Write(char8* str, int strLen);
|
||||||
|
[CallingConvention(.Cdecl)]
|
||||||
|
static extern void Write(int val);
|
||||||
|
#else
|
||||||
static void Write(char8* str, int strLen)
|
static void Write(char8* str, int strLen)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
static void Write(int val)
|
static void Write(int val)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
[CallingConvention(.Cdecl)]
|
|
||||||
static extern void Write(char8* str, int strLen);
|
|
||||||
[CallingConvention(.Cdecl)]
|
|
||||||
static extern void Write(int val);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
public static void Write(String line)
|
public static void Write(String line)
|
||||||
|
|
|
@ -669,7 +669,7 @@ namespace System
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Object Dbg_ObjectAlloc(ClassVData* classVData, int size, int align, int maxStackTraceDepth)
|
public static Object Dbg_ObjectAlloc(ClassVData* classVData, int size, int align, int maxStackTraceDepth, uint8 flags)
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1714,7 +1714,7 @@ namespace System.Reflection
|
||||||
int32 stackCount = Compiler.Options.AllocStackCount;
|
int32 stackCount = Compiler.Options.AllocStackCount;
|
||||||
if (mAllocStackCountOverride != 0)
|
if (mAllocStackCountOverride != 0)
|
||||||
stackCount = mAllocStackCountOverride;
|
stackCount = mAllocStackCountOverride;
|
||||||
obj = Internal.Dbg_ObjectAlloc([Friend]mTypeClassVData, arraySize, [Friend]mInstAlign, stackCount);
|
obj = Internal.Dbg_ObjectAlloc([Friend]mTypeClassVData, arraySize, [Friend]mInstAlign, stackCount, 0);
|
||||||
#else
|
#else
|
||||||
void* mem = new [Align(16)] uint8[arraySize]* (?);
|
void* mem = new [Align(16)] uint8[arraySize]* (?);
|
||||||
obj = Internal.UnsafeCastToObject(mem);
|
obj = Internal.UnsafeCastToObject(mem);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue