|
@@ -870,7 +870,6 @@ implementation
|
|
else
|
|
else
|
|
{ now procedure variable case }
|
|
{ now procedure variable case }
|
|
begin
|
|
begin
|
|
-{$if defined(nounsupported) or not defined(jvm)}
|
|
|
|
secondpass(right);
|
|
secondpass(right);
|
|
|
|
|
|
pvreg:=cg.getintregister(current_asmdata.CurrAsmList,OS_ADDR);
|
|
pvreg:=cg.getintregister(current_asmdata.CurrAsmList,OS_ADDR);
|
|
@@ -880,7 +879,6 @@ implementation
|
|
else
|
|
else
|
|
cg.a_load_loc_reg(current_asmdata.CurrAsmList,OS_ADDR,right.location,pvreg);
|
|
cg.a_load_loc_reg(current_asmdata.CurrAsmList,OS_ADDR,right.location,pvreg);
|
|
location_freetemp(current_asmdata.CurrAsmList,right.location);
|
|
location_freetemp(current_asmdata.CurrAsmList,right.location);
|
|
-{$endif defined(nounsupported) or not defined(jvm)}
|
|
|
|
|
|
|
|
{ Load parameters that are in temporary registers in the
|
|
{ Load parameters that are in temporary registers in the
|
|
correct parameter register }
|
|
correct parameter register }
|
|
@@ -891,7 +889,6 @@ implementation
|
|
freeparas;
|
|
freeparas;
|
|
end;
|
|
end;
|
|
|
|
|
|
-{$if defined(nounsupported) or not defined(jvm)}
|
|
|
|
cg.alloccpuregisters(current_asmdata.CurrAsmList,R_INTREGISTER,regs_to_save_int);
|
|
cg.alloccpuregisters(current_asmdata.CurrAsmList,R_INTREGISTER,regs_to_save_int);
|
|
if cg.uses_registers(R_FPUREGISTER) then
|
|
if cg.uses_registers(R_FPUREGISTER) then
|
|
cg.alloccpuregisters(current_asmdata.CurrAsmList,R_FPUREGISTER,regs_to_save_fpu);
|
|
cg.alloccpuregisters(current_asmdata.CurrAsmList,R_FPUREGISTER,regs_to_save_fpu);
|
|
@@ -904,7 +901,6 @@ implementation
|
|
extra_interrupt_code;
|
|
extra_interrupt_code;
|
|
extra_call_code;
|
|
extra_call_code;
|
|
cg.a_call_reg(current_asmdata.CurrAsmList,pvreg);
|
|
cg.a_call_reg(current_asmdata.CurrAsmList,pvreg);
|
|
-{$endif defined(nounsupported) or not defined(jvm)}
|
|
|
|
extra_post_call_code;
|
|
extra_post_call_code;
|
|
end;
|
|
end;
|
|
|
|
|