فهرست منبع

* don't try to check whether the size of from and to in type conversion nodes
are the same in case of open arrays (their size can't be determined at
compile time) -- this is just a sanity check, which can't be performed in
this case

git-svn-id: trunk@33979 -

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

+ 2 - 0
compiler/llvm/nllvmcnv.pas

@@ -259,6 +259,8 @@ procedure tllvmtypeconvnode.second_nothing;
         if not is_void(left.resultdef) and
            not(nf_absolute in flags) and
            (left.resultdef.typ<>formaldef) and
+           not is_open_array(resultdef) and
+           not is_open_array(left.resultdef) and
           (left.resultdef.size<>resultdef.size) then
           internalerror(2014012216);
         hlcg.location_force_mem(current_asmdata.CurrAsmList,left.location,left.resultdef);