mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 01:09:31 +02:00
* fixed assignment of i8086 method pointers, when the source is in a register
git-svn-id: trunk@25999 -
This commit is contained in:
parent
c84ac2214d
commit
b8de1370a0
@ -913,8 +913,10 @@ implementation
|
||||
else
|
||||
{$endif cpu64bitalu}
|
||||
{$ifdef i8086}
|
||||
{ 6-byte method pointer support for the i8086 medium and compact memory models }
|
||||
if (left.resultdef.typ = procvardef) and (left.resultdef.size = 6) then
|
||||
{ i8086 method pointer support (incl. 6-byte method pointers for the medium and compact memory models) }
|
||||
if (left.resultdef.typ = procvardef) and
|
||||
((po_methodpointer in tprocvardef(left.resultdef).procoptions) or is_nested_pd(tprocvardef(left.resultdef))) and
|
||||
not(po_addressonly in tprocvardef(left.resultdef).procoptions) then
|
||||
begin
|
||||
case left.location.loc of
|
||||
LOC_REFERENCE,LOC_CREFERENCE:
|
||||
|
Loading…
Reference in New Issue
Block a user