florian 1 gadu atpakaļ
vecāks
revīzija
dd586da709
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      compiler/riscv32/cpupara.pas

+ 3 - 2
compiler/riscv32/cpupara.pas

@@ -330,8 +330,9 @@ unit cpupara;
          stack_offset := cur_stack_offset;
          stack_offset := cur_stack_offset;
          maxfpureg := RS_F17;
          maxfpureg := RS_F17;
          if CPURV_HAS_16REGISTERS in cpu_capabilities[current_settings.cputype] then
          if CPURV_HAS_16REGISTERS in cpu_capabilities[current_settings.cputype] then
-          MaxIntReg := RS_X15 else
-          MaxIntReg := RS_X17;
+           MaxIntReg := RS_X15 
+         else
+           MaxIntReg := RS_X17;
 
 
           for i:=0 to paras.count-1 do
           for i:=0 to paras.count-1 do
             begin
             begin