1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Added support for "case when" (valueless) switch cases

This commit is contained in:
Brian Fiete 2020-02-23 06:14:14 -08:00
parent 3fd81fc966
commit 857c1c384a
5 changed files with 25 additions and 11 deletions

View file

@ -748,8 +748,7 @@ public:
bool mMustExist; // Regs we must be able to debug
// Must be refreshed with RefreshRefCounts
int mRefCount;
int mAssignCount;
int mDefOrderIdx; // Indicates instruction # in def assignment
int mAssignCount;
BeMCBlock* mClosedBlock;
int mClosedInstIdx;
@ -789,8 +788,7 @@ public:
mAssignCount = -1;
mVolatileVRegSave = -1;
mMustExist = false;
mIsRetVal = false;
mDefOrderIdx = -1;
mIsRetVal = false;
mClosedBlock = NULL;
mClosedInstIdx = -1;