mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 12:59:24 +02:00
* allow ssa to happen for outer for-loop control variables
git-svn-id: trunk@11320 -
This commit is contained in:
parent
5a3f7c5bad
commit
2348c7ea00
@ -435,8 +435,6 @@ implementation
|
||||
oldexecutionweight : longint;
|
||||
begin
|
||||
location_reset(location,LOC_VOID,OS_NO);
|
||||
oldflowcontrol:=flowcontrol;
|
||||
include(flowcontrol,fc_inflowcontrol);
|
||||
oldclabel:=current_procinfo.CurrContinueLabel;
|
||||
oldblabel:=current_procinfo.CurrBreakLabel;
|
||||
current_asmdata.getjumplabel(current_procinfo.CurrContinueLabel);
|
||||
@ -477,6 +475,9 @@ implementation
|
||||
{ load from value }
|
||||
secondpass(right);
|
||||
|
||||
maybechangeloadnodereg(current_asmdata.CurrAsmList,left,false);
|
||||
oldflowcontrol:=flowcontrol;
|
||||
include(flowcontrol,fc_inflowcontrol);
|
||||
{ produce start assignment }
|
||||
case left.location.loc of
|
||||
LOC_REFERENCE,
|
||||
|
Loading…
Reference in New Issue
Block a user