* 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:
nickysn 2013-10-18 10:56:04 +00:00
parent 655428a467
commit 116d3746ca

View File

@ -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));
list.concat(taicpu.op_reg(A_PUSH,S_W,NR_DI));
getselftobx(8);
getselftobx(6);
loadvmttobx;
loadmethodoffstobx;
{ set target address