summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-03 16:00:45 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-03 16:00:45 -0500
commit470810f30795fa40efc7d251f2ad83ed892978e1 (patch)
tree75eb80c1f5c18fe4567bcecbf390b4c35267c0b0
parent8937b6c918bc0814e1046a0ff06a206c3fb5ac34 (diff)
downloadroux-470810f30795fa40efc7d251f2ad83ed892978e1.tar.gz
add more spaces
-rw-r--r--lisc/lisc.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index 20ef338..8ec1afd 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -132,7 +132,10 @@ enum {
                  (Ref){RAlt, (x)|(AMem<<AShift)})
 
 static inline int req(Ref a, Ref b)
-{ return a.type == b.type && a.val == b.val; }
+{
+	return a.type == b.type && a.val == b.val;
+}
+
 static inline int rtype(Ref r)
 {
 	if (req(r, R))
@@ -141,18 +144,30 @@ static inline int rtype(Ref r)
 		return RAlt + (r.val >> AShift);
 	return r.type;
 }
+
 static inline int isreg(Ref r)
-{ return rtype(r) == RTmp && r.val < Tmp0; }
+{
+	return rtype(r) == RTmp && r.val < Tmp0;
+}
 
 #define CMPS(X) \
-	X(eq) X(sle) X(slt) \
-	X(sgt) X(sge) X(ne) /* mirror opposite cmps! */
+	X(eq)   \
+	X(sle)  \
+	X(slt)  \
+	X(sgt)  \
+	X(sge)  \
+	X(ne)   /* mirror opposite cmps! */
+
 #define COP(c) (c==Ceq||c==Cne ? c : NCmp-1 - c)
 
+enum Cmp {
 #define X(c) C##c,
-enum Cmp { CMPS(X) NCmp };
+	CMPS(X)
 #undef X
 
+	NCmp
+};
+
 enum Class {
 	Kw,
 	Kl,