Explorar o código

+ do cse on length as well

git-svn-id: trunk@30734 -
florian %!s(int64=10) %!d(string=hai) anos
pai
achega
bd6c6d83f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/optcse.pas

+ 1 - 1
compiler/optcse.pas

@@ -66,7 +66,7 @@ unit optcse;
       begin
       begin
         if (n.nodetype in cseinvariant) or
         if (n.nodetype in cseinvariant) or
           ((n.nodetype=inlinen) and
           ((n.nodetype=inlinen) and
-           (tinlinenode(n).inlinenumber in [in_assigned_x,in_sqr_real,in_sqrt_real,in_sin_real,in_cos_real,in_abs_long,
+           (tinlinenode(n).inlinenumber in [in_length_x,in_assigned_x,in_sqr_real,in_sqrt_real,in_sin_real,in_cos_real,in_abs_long,
              in_abs_real,in_exp_real,in_ln_real,in_pi_real,in_popcnt_x,in_arctan_real,in_round_real,in_trunc_real,
              in_abs_real,in_exp_real,in_ln_real,in_pi_real,in_popcnt_x,in_arctan_real,in_round_real,in_trunc_real,
              { cse on fma will still not work because it would require proper handling of call nodes
              { cse on fma will still not work because it would require proper handling of call nodes
                with more than one parameter }
                with more than one parameter }