mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 15:49:27 +02:00
Call ungetregister for NR_D2 at m68k-palmos syscall exit
git-svn-id: trunk@37351 -
This commit is contained in:
parent
8fccd2aefc
commit
8b63f97173
@ -110,7 +110,7 @@ implementation
|
||||
current_asmdata.CurrAsmList.concat(taicpu.op_const(A_TRAP,S_NO,15));
|
||||
current_asmdata.CurrAsmList.concat(tai_const.create_16bit(tprocdef(procdefinition).extnumber));
|
||||
if po_syscall_has_importnr in tprocdef(procdefinition).procoptions then
|
||||
cg.getcpuregister(current_asmdata.CurrAsmList,NR_D2);
|
||||
cg.ungetcpuregister(current_asmdata.CurrAsmList,NR_D2);
|
||||
end
|
||||
else
|
||||
internalerror(2017081201);
|
||||
|
Loading…
Reference in New Issue
Block a user