mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Don't crash on failed GetOperand on invocation args
This commit is contained in:
parent
987413a691
commit
bc39fe6204
1 changed files with 2 additions and 0 deletions
|
@ -2684,6 +2684,8 @@ void CeBuilder::Build()
|
|||
{
|
||||
auto& arg = castedInst->mArgs[argIdx];
|
||||
auto ceArg = GetOperand(arg.mValue);
|
||||
if (!ceArg)
|
||||
continue;
|
||||
if (argIdx == 0)
|
||||
thisOperand = ceArg;
|
||||
EmitSizedOp(CeOp_Push_8, ceArg, NULL, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue