florian 1 anno fa
parent
commit
346962beaa
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      compiler/aoptobj.pas
  2. 1 1
      compiler/x86/cgx86.pas

+ 1 - 1
compiler/aoptobj.pas

@@ -486,7 +486,7 @@ Unit AoptObj;
 {$endif DEBUG_AOPTOBJ}
 
 
-    function JumpTargetOp(ai: taicpu): poper; inline;
+    function JumpTargetOp(ai: taicpu): poper; {$IFDEF USEINLINE}inline;{$ENDIF}
       begin
 {$if defined(MIPS) or defined(riscv64) or defined(riscv32) or defined(xtensa) or defined(loongarch64)}
         { Branches of above archs can have 1,2 or 3 operands, target label is the last one. }

+ 1 - 1
compiler/x86/cgx86.pas

@@ -184,7 +184,7 @@ unit cgx86;
     function UseLeave: boolean;
 
     { Gets the byte alignment of a reference }
-    function GetRefAlignment(ref: treference): Byte;
+    function GetRefAlignment(ref: treference): Byte; {$IFDEF USEINLINE}inline;{$ENDIF}
 
   implementation