projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sdcc-build:
[fw/sdcc]
/
src
/
z80
/
ralloc.h
diff --git
a/src/z80/ralloc.h
b/src/z80/ralloc.h
index 23b7551b12f846df7995843e0c5f6459b782fd7d..b0714af94c1551d5f441604e87ac89317ec4294a 100644
(file)
--- a/
src/z80/ralloc.h
+++ b/
src/z80/ralloc.h
@@
-50,9
+50,14
@@
enum
CND_IDX
};
CND_IDX
};
-#define REG_PTR 0x01
-#define REG_GPR 0x02
-#define REG_CND 0x04
+enum
+ {
+ REG_PTR = 1,
+ REG_GPR = 2,
+ REG_CND = 4,
+ REG_PAIR = 8
+ };
+
/* definition for the registers */
typedef struct regs
{
/* definition for the registers */
typedef struct regs
{
@@
-69,6
+74,7
@@
extern regs *regsZ80;
void assignRegisters (eBBlock **, int);
regs *regWithIdx (int);
void assignRegisters (eBBlock **, int);
regs *regWithIdx (int);
-void z80_assignRegisters (eBBlock ** ebbs, int count);
+void z80_assignRegisters (ebbIndex *);
+bitVect *z80_rUmaskForOp (operand * op);
#endif
#endif