소스 검색

* translate formaldef into "i8*", as intended, instead of "i8**" due to
the fact that this type is always passed by reference

git-svn-id: trunk@30486 -

Jonas Maebe 10 년 전
부모
커밋
101fc3d4ec
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      compiler/llvm/llvmdef.pas

+ 3 - 2
compiler/llvm/llvmdef.pas

@@ -358,8 +358,9 @@ implementation
             end;
           formaldef :
             begin
-              { var/const/out x }
-              encodedstr:=encodedstr+'i8*';
+              { var/const/out x (always treated as "pass by reference" -> don't
+                add extra "*" here) }
+              encodedstr:=encodedstr+'i8';
             end;
           arraydef :
             begin