Преглед на файлове

* "fast lane" code and comment fixed

florian преди 3 години
родител
ревизия
ea659cbc20
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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