mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-17 05:20:37 +01:00
- removed symcpu dependencies
git-svn-id: trunk@31047 -
This commit is contained in:
parent
ab0d445999
commit
75a6ba4113
@ -337,7 +337,7 @@ interface
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
verbose,cutils,symcpu;
|
verbose,cutils;
|
||||||
|
|
||||||
{ returns true, if def uses FPU }
|
{ returns true, if def uses FPU }
|
||||||
function is_fpu(def : tdef) : boolean;
|
function is_fpu(def : tdef) : boolean;
|
||||||
@ -1208,21 +1208,10 @@ implementation
|
|||||||
classrefdef,
|
classrefdef,
|
||||||
pointerdef:
|
pointerdef:
|
||||||
begin
|
begin
|
||||||
{$ifdef x86}
|
result:=int_cgsize(def.size);
|
||||||
if (def.typ=pointerdef) and
|
{ can happen for far/huge pointers on non-i8086 }
|
||||||
(tcpupointerdef(def).x86pointertyp in [x86pt_far,x86pt_huge]) then
|
if result=OS_NO then
|
||||||
begin
|
internalerror(2013052201);
|
||||||
{$if defined(i8086)}
|
|
||||||
result := OS_32;
|
|
||||||
{$elseif defined(i386)}
|
|
||||||
internalerror(2013052201); { there's no OS_48 }
|
|
||||||
{$elseif defined(x86_64)}
|
|
||||||
internalerror(2013052202); { there's no OS_80 }
|
|
||||||
{$endif}
|
|
||||||
end
|
|
||||||
else
|
|
||||||
{$endif x86}
|
|
||||||
result := int_cgsize(def.size);
|
|
||||||
end;
|
end;
|
||||||
formaldef:
|
formaldef:
|
||||||
result := int_cgsize(voidpointertype.size);
|
result := int_cgsize(voidpointertype.size);
|
||||||
|
|||||||
@ -44,7 +44,7 @@ interface
|
|||||||
uses
|
uses
|
||||||
cutils,cclasses,cfileutl,
|
cutils,cclasses,cfileutl,
|
||||||
globtype,finput,ogbase,
|
globtype,finput,ogbase,
|
||||||
symbase,symconst,symsym,symcpu,
|
symbase,symconst,symsym,
|
||||||
wpobase,
|
wpobase,
|
||||||
aasmbase,aasmtai,aasmdata;
|
aasmbase,aasmtai,aasmdata;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user