summary refs log tree commit diff
path: root/lisc/rega.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/rega.c')
-rw-r--r--lisc/rega.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/rega.c b/lisc/rega.c
index a003563..27d61ee 100644
--- a/lisc/rega.c
+++ b/lisc/rega.c
@@ -350,11 +350,11 @@ rega(Fn *fn)
 				 *   situation
 				 *   eax = sub ebx, eax
 				 */
-				if (!opdesc[i->op].commut && r)
+				if (opdesc[i->op].comm == F && r)
 					BSET(cur.br, r);
 				t = i->arg[1].val;
 				i->arg[1] = ralloc(&cur, t);
-				if (!opdesc[i->op].commut && r)
+				if (opdesc[i->op].comm == F && r)
 					BCLR(cur.br, r);
 			}
 		}