소스 검색

* also make "out" parameters unique

git-svn-id: trunk@2043 -
Jonas Maebe 19 년 전
부모
커밋
d6559f594d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/ncal.pas

+ 1 - 1
compiler/ncal.pas

@@ -677,7 +677,7 @@ type
                        valid_for_var(left,true);
                        valid_for_var(left,true);
                    end;
                    end;
 
 
-                 if parasym.varspez = vs_var then
+                 if parasym.varspez in [vs_var,vs_out] then
                    set_unique(left);
                    set_unique(left);
 
 
                  { When the address needs to be pushed then the register is
                  { When the address needs to be pushed then the register is