|
@@ -560,12 +560,12 @@ implementation
|
|
if not(fc_catching_exceptions in flowcontrol) or
|
|
if not(fc_catching_exceptions in flowcontrol) or
|
|
{ no invoke for intrinsics }
|
|
{ no invoke for intrinsics }
|
|
(copy(s,1,5)='llvm.') then
|
|
(copy(s,1,5)='llvm.') then
|
|
- list.concat(taillvm.call_size_name_paras(get_call_pd(pd),res,llvmretdef,current_asmdata.RefAsmSymbol(s,AT_FUNCTION),callparas))
|
|
|
|
|
|
+ list.concat(taillvm.call_size_name_paras(get_call_pd(pd),pd.proccalloption,res,llvmretdef,current_asmdata.RefAsmSymbol(s,AT_FUNCTION),callparas))
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
current_asmdata.getjumplabel(nextinslab);
|
|
current_asmdata.getjumplabel(nextinslab);
|
|
exceptlab:=tllvmprocinfo(current_procinfo).CurrExceptLabel;
|
|
exceptlab:=tllvmprocinfo(current_procinfo).CurrExceptLabel;
|
|
- list.concat(taillvm.invoke_size_name_paras_retlab_exceptlab(get_call_pd(pd),res,llvmretdef,current_asmdata.RefAsmSymbol(s,AT_FUNCTION),callparas,nextinslab,exceptlab));
|
|
|
|
|
|
+ list.concat(taillvm.invoke_size_name_paras_retlab_exceptlab(get_call_pd(pd),pd.proccalloption,res,llvmretdef,current_asmdata.RefAsmSymbol(s,AT_FUNCTION),callparas,nextinslab,exceptlab));
|
|
a_label(list,nextinslab);
|
|
a_label(list,nextinslab);
|
|
end;
|
|
end;
|
|
result:=get_call_result_cgpara(pd,forceresdef);
|
|
result:=get_call_result_cgpara(pd,forceresdef);
|
|
@@ -584,12 +584,12 @@ implementation
|
|
begin
|
|
begin
|
|
a_call_common(list,pd,paras,nil,res,hlretdef,llvmretdef,callparas);
|
|
a_call_common(list,pd,paras,nil,res,hlretdef,llvmretdef,callparas);
|
|
if not(fc_catching_exceptions in flowcontrol) then
|
|
if not(fc_catching_exceptions in flowcontrol) then
|
|
- list.concat(taillvm.call_size_reg_paras(get_call_pd(pd),res,llvmretdef,reg,callparas))
|
|
|
|
|
|
+ list.concat(taillvm.call_size_reg_paras(get_call_pd(pd),pd.proccalloption,res,llvmretdef,reg,callparas))
|
|
else
|
|
else
|
|
begin
|
|
begin
|
|
current_asmdata.getjumplabel(nextinslab);
|
|
current_asmdata.getjumplabel(nextinslab);
|
|
exceptlab:=tllvmprocinfo(current_procinfo).CurrExceptLabel;
|
|
exceptlab:=tllvmprocinfo(current_procinfo).CurrExceptLabel;
|
|
- list.concat(taillvm.invoke_size_reg_paras_retlab_exceptlab(get_call_pd(pd),res,llvmretdef,reg,callparas,nextinslab,exceptlab));
|
|
|
|
|
|
+ list.concat(taillvm.invoke_size_reg_paras_retlab_exceptlab(get_call_pd(pd),pd.proccalloption,res,llvmretdef,reg,callparas,nextinslab,exceptlab));
|
|
a_label(list,nextinslab);
|
|
a_label(list,nextinslab);
|
|
end;
|
|
end;
|
|
result:=get_call_result_cgpara(pd,nil);
|
|
result:=get_call_result_cgpara(pd,nil);
|