mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- extended ExpEmit::RegNum to 16 bits so that it can hold larger values for constant registers.
This commit is contained in:
parent
188c0ee932
commit
393bcf9e91
1 changed files with 4 additions and 1 deletions
|
@ -13,7 +13,10 @@ struct ExpEmit
|
||||||
void Free(VMFunctionBuilder *build);
|
void Free(VMFunctionBuilder *build);
|
||||||
void Reuse(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
|
class VMFunctionBuilder
|
||||||
|
|
Loading…
Reference in a new issue