]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Remove unneeded PHI barrier for reassociation of duplicate ops.
authorMike Pall <mike>
Mon, 10 Oct 2011 18:35:42 +0000 (20:35 +0200)
committerMike Pall <mike>
Mon, 10 Oct 2011 18:35:42 +0000 (20:35 +0200)
src/lj_opt_fold.c

index 2ecac2d95cd5188a8c9f382840cda7486cd2e3ac..43685cdb467b1f1408928ab9116883177604f550 100644 (file)
@@ -1450,7 +1450,6 @@ LJFOLD(BAND BAND any)
 LJFOLD(BOR BOR any)
 LJFOLDF(reassoc_dup)
 {
-  PHIBARRIER(fleft);
   if (fins->op2 == fleft->op1 || fins->op2 == fleft->op2)
     return LEFTFOLD;  /* (a o b) o a ==> a o b; (a o b) o b ==> a o b */
   return NEXTFOLD;