aboutsummaryrefslogtreecommitdiff
path: root/ssa.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-05-04 08:07:13 +0800
committerTeddy <ted.sybil@gmail.com>2014-05-04 08:07:13 +0800
commit8ef3cac508d203cec57d911cbe61019364a11807 (patch)
tree99e41a16ae7e027ec9f7fa920ac42f44f2cef03c /ssa.h
parent433521231784c6ce26900f88c382bee63cdd169b (diff)
reg alloc almost done, can pass most of data
Diffstat (limited to 'ssa.h')
-rw-r--r--ssa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ssa.h b/ssa.h
index 3699b9d..77010a4 100644
--- a/ssa.h
+++ b/ssa.h
@@ -143,8 +143,11 @@ typedef struct CInterv {
void ssa_generate(void);
COpr_t cinterv_repr(COpr_t opr);
void cinst_print(FILE *stream, CInst_t inst);
+int overlap_with_beg(COpr_t i, int beg);
extern int gbbase;
extern CBlock_t entry;
extern COList_t defs;
extern CType_t func;
+extern const int avail_regs[];
+extern const int MAX_AVAIL_REGS;
#endif