1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Unspec variation base fix, debugger default params, debug enum type

This commit is contained in:
Brian Fiete 2022-05-31 11:01:26 -07:00
parent c076c7d3a6
commit cee266d6e6
9 changed files with 116 additions and 30 deletions

View file

@ -7246,9 +7246,16 @@ DbgTypedValue DbgExprEvaluator::CreateCall(BfAstNode* targetSrc, DbgTypedValue t
}
BfExpression* arg = NULL;
DbgTypedValue argValue;
if (argIdx < (int) arguments.size())
{
arg = arguments[argIdx];
argValue = argValues[argIdx];
}
else if (param->mIsConst)
{
argValue.mType = param->mType;
argValue.mInt64 = param->mConstValue;
}
else if (mPassInstance != NULL)
{
@ -7276,7 +7283,7 @@ DbgTypedValue DbgExprEvaluator::CreateCall(BfAstNode* targetSrc, DbgTypedValue t
continue;
}
auto argValue = argValues[argIdx];
if (argValue.mType == NULL)
return DbgTypedValue();