mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 14:09:17 +02:00
+ codeptruinttype/codeptrsinttype that has the same size as
voidcodepointertype git-svn-id: trunk@32470 -
This commit is contained in:
parent
e90af5d7c0
commit
2504a0ce6c
@ -163,6 +163,25 @@ implementation
|
|||||||
voidcodepointertype:=voidpointertype;
|
voidcodepointertype:=voidpointertype;
|
||||||
voidstackpointertype:=voidpointertype;
|
voidstackpointertype:=voidpointertype;
|
||||||
{$endif i8086}
|
{$endif i8086}
|
||||||
|
case voidcodepointertype.size of
|
||||||
|
2:
|
||||||
|
begin
|
||||||
|
codeptruinttype:=u16inttype;
|
||||||
|
codeptrsinttype:=s16inttype;
|
||||||
|
end;
|
||||||
|
4:
|
||||||
|
begin
|
||||||
|
codeptruinttype:=u32inttype;
|
||||||
|
codeptrsinttype:=s32inttype;
|
||||||
|
end;
|
||||||
|
8:
|
||||||
|
begin
|
||||||
|
codeptruinttype:=u64inttype;
|
||||||
|
codeptrsinttype:=s64inttype;
|
||||||
|
end;
|
||||||
|
else
|
||||||
|
Internalerror(2015112106);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure create_intern_types;
|
procedure create_intern_types;
|
||||||
|
@ -1065,6 +1065,9 @@ interface
|
|||||||
{ unsigned and signed ord type with the same size as a pointer }
|
{ unsigned and signed ord type with the same size as a pointer }
|
||||||
ptruinttype,
|
ptruinttype,
|
||||||
ptrsinttype,
|
ptrsinttype,
|
||||||
|
{ unsigned and signed ord type with the same size as a codepointer }
|
||||||
|
codeptruinttype,
|
||||||
|
codeptrsinttype,
|
||||||
{ several types to simulate more or less C++ objects for GDB }
|
{ several types to simulate more or less C++ objects for GDB }
|
||||||
vmttype,
|
vmttype,
|
||||||
vmtarraytype,
|
vmtarraytype,
|
||||||
|
Loading…
Reference in New Issue
Block a user