- extended ExpEmit::RegNum to 16 bits so that it can hold larger values for constant registers.

This commit is contained in:
Christoph Oelckers 2016-11-21 10:50:09 +01:00
parent 188c0ee932
commit 393bcf9e91

View file

@ -13,7 +13,10 @@ struct ExpEmit
void Free(VMFunctionBuilder *build);
void Reuse(VMFunctionBuilder *build);
BYTE RegNum, RegType, RegCount, Konst:1, Fixed : 1, Final : 1, Target : 1;
uint16_t RegNum;
uint8_t RegType, RegCount;
// We are at 8 bytes for this struct, no matter what, so it's rather pointless to squeeze these flags into bitfields.
bool Konst, Fixed, Final, Target;
};
class VMFunctionBuilder