mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed backend error vreg handling, softer fails, fixed a forcelink issue
This commit is contained in:
parent
aafefecfa2
commit
8b71f8d49a
4 changed files with 58 additions and 38 deletions
|
@ -1097,7 +1097,7 @@ void BfModule::EnsureIRBuilder(bool dbgVerifyCodeGen)
|
|||
// code as we walk the AST
|
||||
//mBfIRBuilder->mDbgVerifyCodeGen = true;
|
||||
if (
|
||||
(mModuleName == "Blurg")
|
||||
(mModuleName == "-")
|
||||
//|| (mModuleName == "System_Internal")
|
||||
//|| (mModuleName == "vdata")
|
||||
//|| (mModuleName == "Hey_Dude_Bro_TestClass")
|
||||
|
@ -3747,7 +3747,7 @@ void BfModule::CreateFakeCallerMethod(const String& funcName)
|
|||
auto paramType = mCurMethodInstance->GetParamType(paramIdx);
|
||||
if (paramType->IsValuelessType())
|
||||
continue;
|
||||
exprEvaluator.PushArg(GetDefaultTypedValue(paramType, true), args);
|
||||
exprEvaluator.PushArg(GetDefaultTypedValue(paramType, true, paramType->IsComposite() ? BfDefaultValueKind_Addr : BfDefaultValueKind_Const), args);
|
||||
}
|
||||
|
||||
mBfIRBuilder->CreateCall(mCurMethodInstance->mIRFunction, args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue