Explorar o código

* "fast lane" code and comment fixed

florian %!s(int64=3) %!d(string=hai) anos
pai
achega
ea659cbc20
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      compiler/riscv/rarvgas.pas

+ 2 - 2
compiler/riscv/rarvgas.pas

@@ -764,9 +764,9 @@ unit rarvgas;
       begin
         result:=inherited is_register(s);
         { reg found?
-          possible aliases are always 2 char
+          possible aliases are always 2 to 4 chars
         }
-        if result or (not (length(s) in [2,3])) then
+        if result or (not (length(s) in [2..4])) then
           exit;
         for i:=low(extraregs) to high(extraregs) do
           begin