- removed atag parameter from GetConstantAddress.
This commit is contained in:
parent
ef77cbd295
commit
e551ef52f8
6 changed files with 35 additions and 63 deletions
|
|
@ -2021,12 +2021,12 @@ static void SetReturn(const VMRegisters ®, VMFrame *frame, VMReturn *ret, VM_
|
|||
if (regtype & REGT_KONST)
|
||||
{
|
||||
assert(regnum < func->NumKonstA);
|
||||
ret->SetPointer(func->KonstA[regnum].v, func->KonstATags()[regnum]);
|
||||
ret->SetPointer(func->KonstA[regnum].v);
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(regnum < frame->NumRegA);
|
||||
ret->SetPointer(reg.a[regnum], reg.atag[regnum]);
|
||||
ret->SetPointer(reg.a[regnum]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue