diff options
author | Ash Wolf <ninji@wuffs.org> | 2022-12-14 01:00:56 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2022-12-14 01:00:56 +0000 |
commit | bc1321735c15104ffad195e1509cab5f3a044260 (patch) | |
tree | 8b2a54226e10e8a564a2287cd8e65b577e0fd6c2 /includes/compiler/LiveInfo.h | |
parent | 25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22 (diff) | |
download | MWCC-bc1321735c15104ffad195e1509cab5f3a044260.tar.gz MWCC-bc1321735c15104ffad195e1509cab5f3a044260.zip |
rename some stuff and use an enum for RegClass
Diffstat (limited to '')
-rw-r--r-- | includes/compiler/LiveInfo.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/compiler/LiveInfo.h b/includes/compiler/LiveInfo.h index 6f70c59..9d0c2f9 100644 --- a/includes/compiler/LiveInfo.h +++ b/includes/compiler/LiveInfo.h @@ -4,15 +4,15 @@ #include "compiler/common.h" typedef struct LiveInfo { - UInt32 *vec0; // use - UInt32 *vec4; // def - UInt32 *vec8; // in - UInt32 *vecC; // out + UInt32 *use; + UInt32 *def; + UInt32 *in; + UInt32 *out; } LiveInfo; extern LiveInfo *liveinfo; extern void computelivevariables(Object *proc); -extern int dead(PCode *instr, char rclass, UInt32 *vec); +extern int dead(PCode *instr, RegClass rclass, UInt32 *vec); #endif |