Browse Source

* compiler part of #35433

florian 1 năm trước cách đây
mục cha
commit
346962beaa
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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