mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:09:25 +02:00
* fixed overflows in counters used for operands in case opcode without
operands git-svn-id: trunk@1323 -
This commit is contained in:
parent
cd93450fd6
commit
8b82f90b27
@ -72,7 +72,7 @@ var
|
|||||||
p, hp: taicpu;
|
p, hp: taicpu;
|
||||||
tmpRef: treference;
|
tmpRef: treference;
|
||||||
r,regCounter: tsuperregister;
|
r,regCounter: tsuperregister;
|
||||||
opCount: byte;
|
opCount: longint;
|
||||||
dummy: boolean;
|
dummy: boolean;
|
||||||
begin
|
begin
|
||||||
modifiesConflictingMemLocation := false;
|
modifiesConflictingMemLocation := false;
|
||||||
@ -1089,7 +1089,7 @@ end;
|
|||||||
|
|
||||||
function doReplaceReadReg(p: taicpu; newReg,orgReg: tsuperregister): boolean;
|
function doReplaceReadReg(p: taicpu; newReg,orgReg: tsuperregister): boolean;
|
||||||
var
|
var
|
||||||
opCount: byte;
|
opCount: longint;
|
||||||
begin
|
begin
|
||||||
doReplaceReadReg := false;
|
doReplaceReadReg := false;
|
||||||
{ handle special case }
|
{ handle special case }
|
||||||
|
@ -810,7 +810,7 @@ function regInInstruction(supreg: tsuperregister; p1: tai): boolean;
|
|||||||
{ this one ignores CH_ALL opcodes, while regModifiedByInstruction doesn't }
|
{ this one ignores CH_ALL opcodes, while regModifiedByInstruction doesn't }
|
||||||
var
|
var
|
||||||
p: taicpu;
|
p: taicpu;
|
||||||
opcount: Word;
|
opcount: longint;
|
||||||
begin
|
begin
|
||||||
regInInstruction := false;
|
regInInstruction := false;
|
||||||
if p1.typ <> ait_instruction then
|
if p1.typ <> ait_instruction then
|
||||||
|
Loading…
Reference in New Issue
Block a user