Explorar el Código

Make sure to set alignment of new temp slot to new value

git-svn-id: trunk@38954 -
pierre hace 7 años
padre
commit
1a23672e7b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/tgobj.pas

+ 1 - 1
compiler/tgobj.pas

@@ -395,13 +395,13 @@ implementation
                { Create new block and resize the old block }
                tl^.fini:=fini;
                tl^.size:=size;
-               tl^.alignment:=alignment;
                tl^.nextfree:=nil;
                { Resize the old block }
                dec(bestslot^.size,size);
              end;
             tl^.temptype:=temptype;
             tl^.def:=def;
+            tl^.alignment:=alignment;
             tl^.nextfree:=nil;
           end
          else