mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 12:39:31 +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 }
|
||||
setjmpres:=hlcg.g_call_system_proc(list,pd,[@paraloc1],nil);
|
||||
location_reset(tmpresloc,LOC_REGISTER,def_cgsize(setjmpres.def));
|
||||
tmpresloc.register:=hlcg.getaddressregister(list,pushexceptres.def);
|
||||
hlcg.gen_load_cgpara_loc(list,pushexceptres.def,setjmpres,tmpresloc,true);
|
||||
tmpresloc.register:=hlcg.getintregister(list,setjmpres.def);
|
||||
hlcg.gen_load_cgpara_loc(list,setjmpres.def,setjmpres,tmpresloc,true);
|
||||
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
|
||||
longjmp'd back here }
|
||||
|
Loading…
Reference in New Issue
Block a user