Browse Source

+ more cse invariant nodes added

git-svn-id: trunk@6805 -
florian 18 years ago
parent
commit
9f3d43ec09
1 changed files with 3 additions and 1 deletions
  1. 3 1
      compiler/optcse.pas

+ 3 - 1
compiler/optcse.pas

@@ -44,7 +44,9 @@ unit optcse;
 
     const
       cseinvariant : set of tnodetype = [loadn,addn,muln,subn,divn,slashn,modn,andn,orn,xorn,notn,vecn,
-        derefn,equaln,unequaln,ltn,gtn,lten,gten,typeconvn,subscriptn];
+        derefn,equaln,unequaln,ltn,gtn,lten,gten,typeconvn,subscriptn,
+        inn,symdifn,shrn,shln,ordconstn,realconstn,unaryminusn,pointerconstn,stringconstn,setconstn,
+        isn,asn,starstarn,nothingn];
 
     function searchsubdomain(var n:tnode; arg: pointer) : foreachnoderesult;
       begin