shithub: riscv

Download patch

ref: 62bedca19fbf3305f00b3d8f58496fb45f4ad2b8
parent: 83aa7ba70933335cd579b560a793b7741d5e3931
author: aiju <devnull@localhost>
date: Sat Jan 19 22:07:10 EST 2019

dtracy: fix &&

--- a/sys/src/cmd/dtracy/cgen.c
+++ b/sys/src/cmd/dtracy/cgen.c
@@ -152,7 +152,7 @@
 		}else{
 			l1 = nlab++;
 			l2 = nlab++;
-			condgen(n->n1, invert, l1);
+			condgen(n->n1, !invert, l1);
 			r = condvgen(n->n2, invert);
 			emit(DTE(DTE_BEQ, 0, 0, l2));
 			labtab[l1] = ncbuf;