|
@@ -173,7 +173,6 @@ implementation
|
|
oldclabel,oldblabel : tasmlabel;
|
|
oldclabel,oldblabel : tasmlabel;
|
|
truelabel,falselabel : tasmlabel;
|
|
truelabel,falselabel : tasmlabel;
|
|
oldflowcontrol : tflowcontrol;
|
|
oldflowcontrol : tflowcontrol;
|
|
- oldexecutionweight : longint;
|
|
|
|
begin
|
|
begin
|
|
location_reset(location,LOC_VOID,OS_NO);
|
|
location_reset(location,LOC_VOID,OS_NO);
|
|
|
|
|
|
@@ -205,10 +204,6 @@ implementation
|
|
current_procinfo.CurrContinueLabel:=lcont;
|
|
current_procinfo.CurrContinueLabel:=lcont;
|
|
current_procinfo.CurrBreakLabel:=lbreak;
|
|
current_procinfo.CurrBreakLabel:=lbreak;
|
|
|
|
|
|
- { calc register weight }
|
|
|
|
- oldexecutionweight:=cg.executionweight;
|
|
|
|
- cg.executionweight:=max(cg.executionweight,1)*8;
|
|
|
|
-
|
|
|
|
if assigned(right) then
|
|
if assigned(right) then
|
|
secondpass(right);
|
|
secondpass(right);
|
|
|
|
|
|
@@ -230,7 +225,6 @@ implementation
|
|
secondpass(left);
|
|
secondpass(left);
|
|
|
|
|
|
hlcg.maketojumpboollabels(current_asmdata.CurrAsmList,left,truelabel,falselabel);
|
|
hlcg.maketojumpboollabels(current_asmdata.CurrAsmList,left,truelabel,falselabel);
|
|
- cg.executionweight:=oldexecutionweight;
|
|
|
|
hlcg.a_label(current_asmdata.CurrAsmList,lbreak);
|
|
hlcg.a_label(current_asmdata.CurrAsmList,lbreak);
|
|
|
|
|
|
sync_regvars(false);
|
|
sync_regvars(false);
|
|
@@ -251,7 +245,6 @@ implementation
|
|
var
|
|
var
|
|
hl : tasmlabel;
|
|
hl : tasmlabel;
|
|
oldflowcontrol: tflowcontrol;
|
|
oldflowcontrol: tflowcontrol;
|
|
- oldexecutionweight : longint;
|
|
|
|
(*
|
|
(*
|
|
org_regvar_loaded_other,
|
|
org_regvar_loaded_other,
|
|
then_regvar_loaded_other,
|
|
then_regvar_loaded_other,
|
|
@@ -290,12 +283,6 @@ implementation
|
|
org_regvar_loaded_other := rg.regvar_loaded_other;
|
|
org_regvar_loaded_other := rg.regvar_loaded_other;
|
|
end;
|
|
end;
|
|
*)
|
|
*)
|
|
- { determines registers weigths }
|
|
|
|
- oldexecutionweight:=cg.executionweight;
|
|
|
|
- cg.executionweight:=cg.executionweight div 2;
|
|
|
|
- if cg.executionweight<1 then
|
|
|
|
- cg.executionweight:=1;
|
|
|
|
-
|
|
|
|
if assigned(right) then
|
|
if assigned(right) then
|
|
begin
|
|
begin
|
|
hlcg.a_label(current_asmdata.CurrAsmList,left.location.truelabel);
|
|
hlcg.a_label(current_asmdata.CurrAsmList,left.location.truelabel);
|
|
@@ -403,8 +390,6 @@ implementation
|
|
end;
|
|
end;
|
|
*)
|
|
*)
|
|
|
|
|
|
- cg.executionweight:=oldexecutionweight;
|
|
|
|
-
|
|
|
|
flowcontrol := oldflowcontrol + (flowcontrol - [fc_inflowcontrol]);
|
|
flowcontrol := oldflowcontrol + (flowcontrol - [fc_inflowcontrol]);
|
|
end;
|
|
end;
|
|
|
|
|