소스 검색

* fixed stack direction in assignintreg. This fixes problems with the parameter location calculation.

git-svn-id: branches/z80@44964 -
nickysn 5 년 전
부모
커밋
7bfce62302
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/z80/cpupara.pas

+ 1 - 1
compiler/z80/cpupara.pas

@@ -221,7 +221,7 @@ unit cpupara;
                paraloc^.loc:=LOC_REFERENCE;
                paraloc^.reference.index:=NR_STACK_POINTER_REG;
                paraloc^.reference.offset:=stack_offset;
-               dec(stack_offset,2);
+               inc(stack_offset,2);
             end;
         end;