mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 02:51:36 +02:00
* fixed compilation
git-svn-id: trunk@2779 -
This commit is contained in:
parent
ab5f5ca15e
commit
5d6a002de0
@ -480,9 +480,9 @@ begin
|
|||||||
begin
|
begin
|
||||||
if p.typ = ait_label then
|
if p.typ = ait_label then
|
||||||
begin
|
begin
|
||||||
if (tai_label(p).l.labelnr >= labelpositions.count) then
|
if (tai_label(p).labsym.labelnr >= labelpositions.count) then
|
||||||
labelpositions.count := tai_label(p).l.labelnr * 2;
|
labelpositions.count := tai_label(p).labsym.labelnr * 2;
|
||||||
labelpositions[tai_label(p).l.labelnr] := pointer(instrpos);
|
labelpositions[tai_label(p).labsym.labelnr] := pointer(instrpos);
|
||||||
end;
|
end;
|
||||||
if p.typ = ait_instruction then
|
if p.typ = ait_instruction then
|
||||||
inc(instrpos);
|
inc(instrpos);
|
||||||
@ -502,9 +502,9 @@ begin
|
|||||||
// of jumps
|
// of jumps
|
||||||
begin
|
begin
|
||||||
// can happen because of newly inserted labels
|
// can happen because of newly inserted labels
|
||||||
if (tai_label(p).l.labelnr > labelpositions.count) then
|
if (tai_label(p).labsym.labelnr > labelpositions.count) then
|
||||||
labelpositions.count := tai_label(p).l.labelnr * 2;
|
labelpositions.count := tai_label(p).labsym.labelnr * 2;
|
||||||
labelpositions[tai_label(p).l.labelnr] := pointer(instrpos);
|
labelpositions[tai_label(p).labsym.labelnr] := pointer(instrpos);
|
||||||
end;
|
end;
|
||||||
ait_instruction:
|
ait_instruction:
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user