mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 01:49:20 +02:00
* fixed for overflow in sort_movelist (by Paul Ishenin, mantis #15204), and
made a similar change in sort_simplify_worklist git-svn-id: trunk@14296 -
This commit is contained in:
parent
1cd32f5327
commit
93523c7767
@ -260,7 +260,7 @@ unit rgobj;
|
|||||||
{Ok, sorting pointers is silly, but it does the job to make Trgobj.combine
|
{Ok, sorting pointers is silly, but it does the job to make Trgobj.combine
|
||||||
faster.}
|
faster.}
|
||||||
|
|
||||||
var h,i,p:word;
|
var h,i,p:longword;
|
||||||
t:Tlinkedlistitem;
|
t:Tlinkedlistitem;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
@ -790,7 +790,7 @@ unit rgobj;
|
|||||||
registers in it cause. This allows simplify to execute in
|
registers in it cause. This allows simplify to execute in
|
||||||
constant time.}
|
constant time.}
|
||||||
|
|
||||||
var p,h,i,leni,lent:word;
|
var p,h,i,leni,lent:longword;
|
||||||
t:Tsuperregister;
|
t:Tsuperregister;
|
||||||
adji,adjt:Psuperregisterworklist;
|
adji,adjt:Psuperregisterworklist;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user