mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 16:50:33 +02:00
* no need to synchronise the upper bound of a for-loop after the loop
anymore if it is a regvar, because it cannot be a regvar anymore after the fix for tw8883 git-svn-id: trunk@7358 -
This commit is contained in:
parent
79f314cf96
commit
fdc813db9a
@ -390,9 +390,8 @@ implementation
|
|||||||
get_used_regvars(right,usedregvars);
|
get_used_regvars(right,usedregvars);
|
||||||
{ loop body }
|
{ loop body }
|
||||||
get_used_regvars(t2,usedregvars);
|
get_used_regvars(t2,usedregvars);
|
||||||
{ end value if necessary }
|
{ end value (t1) is not necessary (it cannot be a regvar, }
|
||||||
if (t1.location.loc = LOC_CREGISTER) then
|
{ see webtbs/tw8883) }
|
||||||
get_used_regvars(t1,usedregvars);
|
|
||||||
|
|
||||||
gen_sync_regvars(current_asmdata.CurrAsmList,usedregvars);
|
gen_sync_regvars(current_asmdata.CurrAsmList,usedregvars);
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user