summaryrefslogtreecommitdiff
path: root/includes/compiler/PCode.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-10 11:05:21 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-10 11:05:21 +0000
commitaec1b8dddc68ecb8288ec6132932e4c7b4bca09f (patch)
tree8138328fe43bcc5fff690dc60caac79aa570ab2b /includes/compiler/PCode.h
parentfcfbafff31869ed808bff0639532db1828660e92 (diff)
downloadMWCC-aec1b8dddc68ecb8288ec6132932e4c7b4bca09f.tar.gz
MWCC-aec1b8dddc68ecb8288ec6132932e4c7b4bca09f.zip
getting close to done
Diffstat (limited to '')
-rw-r--r--includes/compiler/PCode.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/includes/compiler/PCode.h b/includes/compiler/PCode.h
index b38d9e1..9b6103b 100644
--- a/includes/compiler/PCode.h
+++ b/includes/compiler/PCode.h
@@ -198,17 +198,18 @@ enum {
};
enum {
- fPCBlockFlag1 = 1, // prologue
- fPCBlockFlag2 = 2, // epilogue
- fPCBlockFlag4 = 4,
- fPCBlockFlag8 = 8, // scheduled?
- fPCBlockFlag10 = 0x10,
- fPCBlockFlag20 = 0x20,
+ fPCBlockFlag1 = 1, // fIsProlog
+ fPCBlockFlag2 = 2, // fIsEpilogue
+ fPCBlockFlag4 = 4, // fVisited
+ fPCBlockFlag8 = 8, // fScheduled
+ fPCBlockFlag10 = 0x10, // maybe fIsSwitch based off v3?
+ fPCBlockFlag20 = 0x20, // fDeleted
fPCBlockFlag2000 = 0x2000,
fPCBlockFlag4000 = 0x4000,
fPCBlockFlag6000 = 0x6000,
fPCBlockFlag8000 = 0x8000
};
+// v3 has fCCisLiveOnExit, fUnrolled, fAlignBlock
extern PCodeBlock *pcbasicblocks;
extern PCodeBlock *pclastblock;