diff options
author | Ash Wolf <ninji@wuffs.org> | 2022-12-14 00:16:59 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2022-12-14 00:16:59 +0000 |
commit | 25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22 (patch) | |
tree | c0ee632aa3752884b996c562622e2ece88216ea4 /includes/compiler/LiveInfo.h | |
parent | 9d2728a5605f651934fe67a6fe6986b3e4a2c011 (diff) | |
download | MWCC-25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22.tar.gz MWCC-25bab8b1fb2fc851ea3f1f630b3de65ca6afdc22.zip |
haha it's been a while since i last committed, hasn't it
Diffstat (limited to '')
-rw-r--r-- | includes/compiler/LiveInfo.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/includes/compiler/LiveInfo.h b/includes/compiler/LiveInfo.h new file mode 100644 index 0000000..6f70c59 --- /dev/null +++ b/includes/compiler/LiveInfo.h @@ -0,0 +1,18 @@ +#ifndef COMPILER_LIVEINFO_H +#define COMPILER_LIVEINFO_H + +#include "compiler/common.h" + +typedef struct LiveInfo { + UInt32 *vec0; // use + UInt32 *vec4; // def + UInt32 *vec8; // in + UInt32 *vecC; // out +} LiveInfo; + +extern LiveInfo *liveinfo; + +extern void computelivevariables(Object *proc); +extern int dead(PCode *instr, char rclass, UInt32 *vec); + +#endif |