Explorar el Código

* ARM assembler reader: don't check for postfixes beyond the length
of the opcode

git-svn-id: trunk@29823 -

Jonas Maebe hace 10 años
padre
commit
3fe0bd065e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/arm/raarmgas.pas

+ 1 - 1
compiler/arm/raarmgas.pas

@@ -1220,7 +1220,7 @@ Unit raarmgas;
                   end;
               end;
           end;
-        maxlen:=max(length(hs),5);
+        maxlen:=min(length(hs),5);
         actopcode:=A_NONE;
         for j:=maxlen downto 1 do
           begin