Explorar el Código

* 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 hace 10 años
padre
commit
101fc3d4ec
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  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