mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 18:00:43 +02:00
* fixed the stack offset to the self parameter when generating an interface
wrapper for a virtual method in tcg8086.g_intf_wrapper git-svn-id: trunk@25816 -
This commit is contained in:
parent
655428a467
commit
116d3746ca
@ -1792,7 +1792,7 @@ unit cgcpu;
|
|||||||
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_BX)); { allocate space for address}
|
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_BX)); { allocate space for address}
|
||||||
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_BX));
|
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_BX));
|
||||||
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_DI));
|
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_DI));
|
||||||
getselftobx(8);
|
getselftobx(6);
|
||||||
loadvmttobx;
|
loadvmttobx;
|
||||||
loadmethodoffstobx;
|
loadmethodoffstobx;
|
||||||
{ set target address
|
{ set target address
|
||||||
|
Loading…
Reference in New Issue
Block a user