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

Linux fix

This commit is contained in:
Brian Fiete 2020-04-03 16:16:02 -07:00
parent aaccaa97e2
commit b1a96fe001
2 changed files with 5 additions and 5 deletions

View file

@ -2,6 +2,7 @@
#include "CritSect.h"
#include "util/Dictionary.h"
#ifdef DEF_BF_ALLOCDEBUG
#define USE_BF_ALLOCDEBUG
#endif
@ -19,6 +20,8 @@ USING_NS_BF;
#define STOMP_MAGIC 0xBF12BF34
#ifdef BF_PLATFORM_WINDOWS
class BfBitSet
{
public:
@ -327,6 +330,8 @@ void DbgHeapFree(const void* ptr, const char* fileName, int lineNum)
assert("Not found" == 0);
}
#endif
#ifdef DEF_BF_ALLOCDEBUG
void DbgHeapCheck()

View file

@ -2010,11 +2010,6 @@ void BeCOFFObject::Generate(BeModule* module)
BF_ASSERT(globalVar->mAlign != -1);
if (globalVar->mName == "sBfTypeData._J")
{
NOP;
}
if (globalVar->mIsConstant)
{
auto constVal = BeValueDynCast<BeConstant>(globalVar->mInitializer);