summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/copy.c b/copy.c
index 8354929..3aa3b98 100644
--- a/copy.c
+++ b/copy.c
@@ -27,11 +27,11 @@ iscopy(Ins *i, Ref r, Fn *fn)
 	case Ocopy:
 		return 1;
 	case Omul:
-		return iscon(i->arg[0], 1, fn) || iscon(i->arg[1], 1, fn);
+		return iscon(i->arg[1], 1, fn);
 	case Odiv:
 		return iscon(i->arg[1], 1, fn);
 	case Oadd:
-		return iscon(i->arg[0], 0, fn) || iscon(i->arg[1], 0, fn);
+		return iscon(i->arg[1], 0, fn);
 	default:
 		break;
 	}