2
0
Эх сурвалжийг харах

* allow recordtype.recordfield constants to set the operand size; this makes things like
test [di + recordtype.recordfield], 1
work, as long as the size of recordfield is a valid operand size for the target

git-svn-id: trunk@38175 -

nickysn 7 жил өмнө
parent
commit
7338437dcd

+ 1 - 1
compiler/x86/rax86int.pas

@@ -1125,7 +1125,7 @@ Unit Rax86int;
                        (sym.typ = fieldvarsym) and
                        not(sp_static in sym.symoptions)) then
                      begin
-                      BuildRecordOffsetSize(tempstr,l,k,hs,needvmtofs,hastypecast);
+                      BuildRecordOffsetSize(tempstr,l,size,hs,needvmtofs,hastypecast);
                       if hs <> '' then
                         hssymtyp:=AT_FUNCTION
                       else