mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Linux fixes
This commit is contained in:
parent
e4fa6776a8
commit
08e3f9155e
4 changed files with 7 additions and 7 deletions
|
@ -5488,7 +5488,7 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, BfMethodInstance*
|
|||
{
|
||||
BfTypeCode loweredRetType = BfTypeCode_None;
|
||||
BfTypeCode loweredRetType2 = BfTypeCode_None;
|
||||
if (methodInstance->GetLoweredReturnType(&loweredRetType, &loweredRetType2))
|
||||
if ((!IsConstEval()) && (methodInstance->GetLoweredReturnType(&loweredRetType, &loweredRetType2)))
|
||||
{
|
||||
auto retVal = mModule->CreateAlloca(methodInstance->mReturnType);
|
||||
BfIRType loweredIRType = mModule->GetIRLoweredType(loweredRetType, loweredRetType2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue