mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-07 12:00:36 +01:00
* don't ignore by accident the next instruction after a newly inserted constant pool
git-svn-id: trunk@24677 -
This commit is contained in:
parent
3a393f839e
commit
4056194e7c
@ -1092,7 +1092,6 @@ implementation
|
||||
curtai:=tai(curtai.next);
|
||||
|
||||
doinsert:=false;
|
||||
hp:=tai(curtai.next);
|
||||
current_asmdata.getjumplabel(l);
|
||||
|
||||
{ align thumb in thumb .text section to 4 bytes }
|
||||
@ -1112,6 +1111,11 @@ implementation
|
||||
hp2:=tai(hp2.next);
|
||||
end;
|
||||
|
||||
{ continue with the last inserted label because we use later
|
||||
on SimpleGetNextInstruction, so if we used curtai.next (which
|
||||
is then equal curdata.last.previous) we could over see one
|
||||
instruction }
|
||||
hp:=tai(curdata.Last);
|
||||
list.insertlistafter(curtai,curdata);
|
||||
curtai:=hp;
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user