|
@@ -1751,6 +1751,15 @@ implementation
|
|
|
{ Try to use references as is, unless they would trigger internal
|
|
|
error 200502052 }
|
|
|
if (cs_create_pic in current_settings.moduleswitches) and
|
|
|
+ (paraarray[1].location.loc in [LOC_REFERENCE,LOC_CREFERENCE]) and
|
|
|
+ Assigned(paraarray[1].location.reference.symbol) then
|
|
|
+ hlcg.location_force_reg(current_asmdata.CurrAsmList,paraarray[1].location,
|
|
|
+ paraarray[1].resultdef,paraarray[1].resultdef,true);
|
|
|
+
|
|
|
+ { Try to use references as is, unless they would trigger internal
|
|
|
+ error 200502052 }
|
|
|
+ if (cs_create_pic in current_settings.moduleswitches) and
|
|
|
+ (paraarray[2].location.loc in [LOC_REFERENCE,LOC_CREFERENCE]) and
|
|
|
Assigned(paraarray[2].location.reference.symbol) then
|
|
|
hlcg.location_force_reg(current_asmdata.CurrAsmList,paraarray[2].location,
|
|
|
paraarray[2].resultdef,paraarray[2].resultdef,true);
|