mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:29:26 +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;
|
||||
voidstackpointertype:=voidpointertype;
|
||||
{$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;
|
||||
|
||||
procedure create_intern_types;
|
||||
|
@ -1065,6 +1065,9 @@ interface
|
||||
{ unsigned and signed ord type with the same size as a pointer }
|
||||
ptruinttype,
|
||||
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 }
|
||||
vmttype,
|
||||
vmtarraytype,
|
||||
|
Loading…
Reference in New Issue
Block a user