mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-19 08:49:21 +02:00
m68k: do not generate argument popping for a noreturn call
This commit is contained in:
parent
439faf0da8
commit
9eda172a48
@ -53,7 +53,7 @@ implementation
|
||||
|
||||
procedure tm68kcallnode.pop_parasize(pop_size: longint);
|
||||
begin
|
||||
if pop_size<>0 then
|
||||
if (pop_size<>0) and not (po_noreturn in procdefinition.procoptions) then
|
||||
current_asmdata.CurrAsmList.concat(taicpu.op_const_reg(A_ADD,S_L,pop_size,NR_SP));
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user