mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 16:26:13 +02:00
* use tconstexpruint instead of qword
This commit is contained in:
parent
c610d3d0dd
commit
865e10d6b0
@ -154,12 +154,7 @@ implementation
|
|||||||
procedure tcgordconstnode.pass_2;
|
procedure tcgordconstnode.pass_2;
|
||||||
begin
|
begin
|
||||||
location_reset(location,LOC_CONSTANT,def_cgsize(resulttype.def));
|
location_reset(location,LOC_CONSTANT,def_cgsize(resulttype.def));
|
||||||
{$ifdef delphi}
|
location.valueqword:=TConstExprUInt(value);
|
||||||
{ Delphi crashes on this statement }
|
|
||||||
location.valueqword:=value;
|
|
||||||
{$else}
|
|
||||||
location.valueqword:=qword(value);
|
|
||||||
{$endif}
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -532,7 +527,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.20 2002-10-05 12:43:25 carl
|
Revision 1.21 2002-10-06 21:01:50 peter
|
||||||
|
* use tconstexpruint instead of qword
|
||||||
|
|
||||||
|
Revision 1.20 2002/10/05 12:43:25 carl
|
||||||
* fixes for Delphi 6 compilation
|
* fixes for Delphi 6 compilation
|
||||||
(warning : Some features do not work under Delphi)
|
(warning : Some features do not work under Delphi)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user