mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 16:55:46 +00:00
glasm: Implement basic GLASM instructions
This commit is contained in:
parent
03f17ebc43
commit
6c0a696179
10 changed files with 1173 additions and 840 deletions
|
@ -224,6 +224,12 @@ public:
|
|||
--use_count;
|
||||
}
|
||||
|
||||
/// Destructively add usages to the instruction
|
||||
/// Useful for register allocation
|
||||
void DestructiveAddUsage(int count) {
|
||||
use_count += count;
|
||||
}
|
||||
|
||||
private:
|
||||
struct NonTriviallyDummy {
|
||||
NonTriviallyDummy() noexcept {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue