mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 23:49:22 +02:00
* fixed def used for saving the result of fpc_setjmp() after r30497, fixes
cycle for x86-86 (mantis #27812) git-svn-id: trunk@30506 -
This commit is contained in:
parent
9568f728f7
commit
8fc562a2f8
@ -452,8 +452,8 @@ implementation
|
|||||||
{ perform the fpc_setjmp call }
|
{ perform the fpc_setjmp call }
|
||||||
setjmpres:=hlcg.g_call_system_proc(list,pd,[@paraloc1],nil);
|
setjmpres:=hlcg.g_call_system_proc(list,pd,[@paraloc1],nil);
|
||||||
location_reset(tmpresloc,LOC_REGISTER,def_cgsize(setjmpres.def));
|
location_reset(tmpresloc,LOC_REGISTER,def_cgsize(setjmpres.def));
|
||||||
tmpresloc.register:=hlcg.getaddressregister(list,pushexceptres.def);
|
tmpresloc.register:=hlcg.getintregister(list,setjmpres.def);
|
||||||
hlcg.gen_load_cgpara_loc(list,pushexceptres.def,setjmpres,tmpresloc,true);
|
hlcg.gen_load_cgpara_loc(list,setjmpres.def,setjmpres,tmpresloc,true);
|
||||||
hlcg.g_exception_reason_save(list,setjmpres.def,ossinttype,tmpresloc.register,t.reasonbuf);
|
hlcg.g_exception_reason_save(list,setjmpres.def,ossinttype,tmpresloc.register,t.reasonbuf);
|
||||||
{ if we get 0 here in the function result register, it means that we
|
{ if we get 0 here in the function result register, it means that we
|
||||||
longjmp'd back here }
|
longjmp'd back here }
|
||||||
|
Loading…
Reference in New Issue
Block a user