qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit bca7e0c32df2c29e013e15f8254c3ccb7496dc99
parent 76e877f125fb2a0ccbab0bed195ab10f5a1aa8a3
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Wed, 16 Sep 2015 22:45:01 -0400

follow suggestion of gcc

Diffstat:
Mlisc/lisc.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisc/lisc.h b/lisc/lisc.h @@ -88,7 +88,7 @@ enum { #define CON_Z CON(0) /* reserved zero constant */ #define SLOT(x) (Ref){RSlot, x} #define TYP(x) (Ref){RAlt, x} -#define CALL(x) (Ref){RAlt, x|RCallm} +#define CALL(x) (Ref){RAlt, (x)|RCallm} static inline int req(Ref a, Ref b) { return a.type == b.type && a.val == b.val; }