prepare for block processing

This commit is contained in:
Quentin Carbonneaux 2015-07-23 18:09:03 -04:00
parent abdcbe845a
commit 49130f9edd
2 changed files with 66 additions and 11 deletions

View file

@ -45,7 +45,7 @@ enum {
NIns = 256,
BITS = 4,
NBit = 8 * sizeof(uint64_t),
NBit = 64,
};
struct Bits {
@ -83,6 +83,8 @@ enum {
OSub,
ODiv,
ORem,
OStore,
OLoad,
/* reserved instructions */
OCopy,
OXCltd,
@ -147,7 +149,8 @@ struct Sym {
} type;
char name[NString];
uint ndef, nuse;
int cost;
uint cost;
uint spill;
};
struct Fn {