mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-24 00:49:34 +02:00
* use voidcodepointertype in traisenode.pass_typecheck to avoid ifdef i8086
git-svn-id: trunk@27537 -
This commit is contained in:
parent
542719c8f5
commit
be08957a96
@ -1966,14 +1966,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
{ addr }
|
{ addr }
|
||||||
typecheckpass(right);
|
typecheckpass(right);
|
||||||
{$ifdef i8086}
|
inserttypeconv(right,voidcodepointertype);
|
||||||
if current_settings.x86memorymodel in x86_far_code_models then
|
|
||||||
inserttypeconv(right,voidfarpointertype)
|
|
||||||
else
|
|
||||||
inserttypeconv(right,voidnearpointertype);
|
|
||||||
{$else i8086}
|
|
||||||
inserttypeconv(right,voidpointertype);
|
|
||||||
{$endif i8086}
|
|
||||||
{ frame }
|
{ frame }
|
||||||
if assigned(third) then
|
if assigned(third) then
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user