Browse Source

Fix aarch64 cycle after constant parser simplification change in rev 35229-35230

git-svn-id: trunk@35239 -
pierre 8 years ago
parent
commit
1b1fe68f92
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/aarch64/cgcpu.pas

+ 1 - 1
compiler/aarch64/cgcpu.pas

@@ -586,7 +586,7 @@ implementation
       begin
       begin
         { if we load a value into a 32 bit register, it is automatically
         { if we load a value into a 32 bit register, it is automatically
           zero-extended to 64 bit }
           zero-extended to 64 bit }
-        if (high(a)=0) and
+        if (hi(a)=0) and
            (size in [OS_64,OS_S64]) then
            (size in [OS_64,OS_S64]) then
           begin
           begin
             size:=OS_32;
             size:=OS_32;