summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-21 13:57:27 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-04-21 14:02:43 -0400
commit5053577e0e9776ef4854c384fc8dd145be29bb07 (patch)
tree72d644099351df40c22fbf4456e80369fe251ef0
parent6d07d0a4ac74f11bcfcda64ff4ffb8c75bc00960 (diff)
downloadroux-5053577e0e9776ef4854c384fc8dd145be29bb07.tar.gz
cosmetics in all.h
-rw-r--r--all.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/all.h b/all.h
index 2eccb97..7f64360 100644
--- a/all.h
+++ b/all.h
@@ -68,12 +68,12 @@ enum Reg {
Tmp0, /* first non-reg temporary */
- NIReg = R12 - RAX + 1,
- NFReg = XMM14 - XMM0 + 1,
- NISave = 9,
+ NIReg = R15 - RAX + 1,
+ NFReg = XMM14 - XMM0 + 1, /* XMM15 is reserved */
+ NISave = R11 - RAX + 1,
NFSave = NFReg,
NRSave = NISave + NFSave,
- NRClob = 5,
+ NRClob = R15 - RBX + 1,
};
enum {
@@ -395,7 +395,7 @@ struct Con {
double d;
float s;
} bits;
- char flt; /* for printing, see parse.c */
+ char flt; /* 1 to print as s, 2 to print as d */
char local;
};
@@ -509,8 +509,7 @@ void bsdiff(BSet *, BSet *);
int bsequal(BSet *, BSet *);
int bsiter(BSet *, int *);
-static inline int
-bshas(BSet *bs, uint elt)
+static inline int bshas(BSet *bs, uint elt)
{
assert(elt < bs->nt * NBit);
return (bs->t[elt/NBit] & BIT(elt%NBit)) != 0;