mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 12:09:24 +02:00
* TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far
data memory models git-svn-id: trunk@27728 -
This commit is contained in:
parent
15275795da
commit
89e9fac562
@ -769,9 +769,9 @@ implementation
|
|||||||
{ allocate a pointer in the object memory }
|
{ allocate a pointer in the object memory }
|
||||||
with tObjectSymtable(_class.symtable) do
|
with tObjectSymtable(_class.symtable) do
|
||||||
begin
|
begin
|
||||||
datasize:=align(datasize,sizeof(pint));
|
datasize:=align(datasize,voidpointertype.alignment);
|
||||||
ImplIntf.Ioffset:=datasize;
|
ImplIntf.Ioffset:=datasize;
|
||||||
datasize:=datasize+sizeof(pint);
|
datasize:=datasize+voidpointertype.size;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user