Explorar o código

Use getptruint for pointer type const, fixes i8086 ppudump problems

git-svn-id: trunk@37242 -
pierre %!s(int64=8) %!d(string=hai) anos
pai
achega
bd428ce6ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/utils/ppuutils/ppudump.pp

+ 1 - 1
compiler/utils/ppuutils/ppudump.pp

@@ -2565,7 +2565,7 @@ begin
                    write  ([space,'  PointerType : ']);
                    write  ([space,'  PointerType : ']);
                    readderef('',constdef.TypeRef);
                    readderef('',constdef.TypeRef);
                    constdef.ConstType:=ctInt;
                    constdef.ConstType:=ctInt;
-                   constdef.VInt:=getaint;
+                   constdef.VInt:=getptruint;
                    writeln([space,'        Value : ',constdef.VInt])
                    writeln([space,'        Value : ',constdef.VInt])
                  end;
                  end;
                conststring,
                conststring,