瀏覽代碼

* reinstate the internalerror removed in r41730 for i386, as that was a valid condition to verify

git-svn-id: trunk@41731 -
Károly Balogh 6 年之前
父節點
當前提交
2c1639003c
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      compiler/i386/cpupara.pas

+ 3 - 0
compiler/i386/cpupara.pas

@@ -447,6 +447,9 @@ unit cpupara;
             { syscall for AROS can have already a paraloc set }
             if (vo_has_explicit_paraloc in hp.varoptions) then
               begin
+                { on AROS-i386, only the libbase can have explicit paraloc }
+                if not (vo_is_syscall_lib in hp.varoptions) then
+                  internalerror(2016090105);
                 if p.proccalloption in pushleftright_pocalls then
                   dec(i)
                 else