mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Working on installer, fixing more Win32 issues
Throwing error on member references with ".." cascade token outside invocations (ie: "ts..mA = 123") Fixed 'Thread.ModuleTLSIndex' error - which caused us TLS lookup failures in Beef DLLs Fixed some hotswap errors Made BeefPerf shut down properly Fixed an 'int literal' FixIntUnknown issue where rhs was System.Object which caused an illegal boxing Fixed COFF::LocateSymbol issues with Win32 and also with linking to static libraries - showed up with hot-linking in fmod when hot-adding a floating point mod Fixed a couple memory leaks Fixed alignment issue in COFF::ParseCompileUnit
This commit is contained in:
parent
aad0a640c5
commit
b63a243fd7
73 changed files with 2474 additions and 293 deletions
|
@ -14503,9 +14503,7 @@ void BfModule::CallChainedMethods(BfMethodInstance* methodInstance, bool reverse
|
|||
}
|
||||
|
||||
void BfModule::AddHotDataReferences(BfHotDataReferenceBuilder* builder)
|
||||
{
|
||||
//auto methodName = MethodToString(mCurMethodInstance, BfMethodNameFlag_OmitTypeName);
|
||||
|
||||
{
|
||||
BF_ASSERT(mCurMethodInstance->mIsReified);
|
||||
|
||||
if (mCurTypeInstance->mHotTypeData == NULL)
|
||||
|
@ -14519,8 +14517,6 @@ void BfModule::AddHotDataReferences(BfHotDataReferenceBuilder* builder)
|
|||
}
|
||||
|
||||
BF_ASSERT(hotMethod->mSrcTypeVersion != NULL);
|
||||
//hotMethod->mSrcTypeVersion = mCurTypeInstance->mHotTypeData->GetLatestVersion();
|
||||
//hotMethod->mSrcTypeVersion->mRefCount++;
|
||||
|
||||
int prevSize = (int)hotMethod->mReferences.size();
|
||||
int refCount = (int)(prevSize + builder->mUsedData.size() + builder->mCalledMethods.size() + builder->mDevirtualizedCalledMethods.size());
|
||||
|
@ -17167,14 +17163,6 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup)
|
|||
else if (wantsRemoveBody)
|
||||
mBfIRBuilder->Func_DeleteBody(mCurMethodInstance->mIRFunction);
|
||||
|
||||
//TODO: Can we actually do this?
|
||||
/*if ((!HasCompiledOutput()) && (!mCompiler->mOptions.mExtraResolveChecks))
|
||||
{
|
||||
mBfIRBuilder->Func_DeleteBody(mCurMethodInstance->mIRFunction);
|
||||
mBfIRBuilder->Func_EraseFromParent(mCurMethodInstance->mIRFunction);
|
||||
mCurMethodInstance->mIRFunction = BfIRFunction();
|
||||
}*/
|
||||
|
||||
// We don't want to hold on to pointers to LLVMFunctions of unspecialized types.
|
||||
// This allows us to delete the mScratchModule LLVM module without rebuilding all
|
||||
// unspecialized types
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue