Browse Source

* building for LLVM fixed

florian 3 năm trước cách đây
mục cha
commit
33db5200e6
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      compiler/hlcgobj.pas

+ 2 - 0
compiler/hlcgobj.pas

@@ -835,11 +835,13 @@ implementation
           setdef:
             result:=R_INTREGISTER;
           procvardef:
+{$ifndef LLVM}
             { getaddressregister cannot handle if multiple registers
               are required for a single element }
             if is_methodpointer(def) then
               result:=R_INTREGISTER
             else
+{$endif LLVM}
               result:=R_ADDRESSREGISTER;
           stringdef,
           pointerdef,