- 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 -
This commit is contained in:
Jonas Maebe 2007-11-29 12:59:05 +00:00
parent 31764a0e3b
commit bc545b077f

View File

@ -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);