mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Updates
This commit is contained in:
parent
c5dee2f8bc
commit
29f6313bb3
6 changed files with 20 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue