瀏覽代碼

- removed internalerror in case a subsetref value is loaded on a cpu
which requires proper alignment (they have to support unaligned accesses
in their a_load_*_* routines)

git-svn-id: trunk@9346 -

Jonas Maebe 17 年之前
父節點
當前提交
bc545b077f
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      compiler/cgobj.pas

+ 0 - 8
compiler/cgobj.pas

@@ -1185,14 +1185,6 @@ implementation
       begin
         intloadsize := packedbitsloadsize(sref.bitlen);
 
-{$if not(defined(arm)) and not(defined(sparc))}
-        { may need to be split into several smaller loads/stores }
-        if (tf_requires_proper_alignment in target_info.flags) and
-           (intloadsize <> 1) and
-           (intloadsize <> sref.ref.alignment) then
-          internalerror(2006082011);
-{$endif not(defined(arm)) and not(defined(sparc))}
-
         if (intloadsize = 0) then
           internalerror(2006081310);