1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00
This commit is contained in:
Brian Fiete 2024-05-07 13:31:00 -04:00
parent c5dee2f8bc
commit 29f6313bb3
6 changed files with 20 additions and 19 deletions

View file

@ -1258,7 +1258,7 @@ void BfModule::SetupIRBuilder(bool dbgVerifyCodeGen)
// code as we walk the AST
//mBfIRBuilder->mDbgVerifyCodeGen = true;
if (
(mModuleName == "vdata")
(mModuleName == "-")
|| (mModuleName == "")
//|| (mModuleName == "Tests_FuncRefs")
)
@ -9816,7 +9816,7 @@ BfIRValue BfModule::AllocFromType(BfType* type, const BfAllocTarget& allocTarget
{
mBfIRBuilder->SetInsertPoint(mCurMethodState->mIRInitBlock);
typedVal = BfTypedValue(mBfIRBuilder->CreateBitCast(allocaInst, mBfIRBuilder->MapType(arrayType)), arrayType);
mBfIRBuilder->ClearDebugLocation_Last();
mBfIRBuilder->ClearDebugLocation(typedVal.mValue);
mBfIRBuilder->SetInsertPoint(prevBlock);
allocaBlock = mCurMethodState->mIRInitBlock;
}