소스 검색

m68k: do not generate argument popping for a noreturn call

Karoly Balogh 1 년 전
부모
커밋
9eda172a48
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/m68k/n68kcal.pas

+ 1 - 1
compiler/m68k/n68kcal.pas

@@ -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;