فهرست منبع

* internalerror in case a reference's alignment is not set in
thlcgllvm.make_simple_ref_ptr()

git-svn-id: trunk@34299 -

Jonas Maebe 9 سال پیش
والد
کامیت
f417ed6576
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      compiler/llvm/hlcgllvm.pas

+ 2 - 0
compiler/llvm/hlcgllvm.pas

@@ -1798,6 +1798,8 @@ implementation
       tmpref: treference;
       pointedsize: asizeint;
     begin
+      if ref.alignment=0 then
+        internalerror(2016072203);
       { already simple? }
       if (not assigned(ref.symbol) or
           (ref.base=NR_NO)) and