mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 14:47:57 -05:00
glasm: Implement basic GLASM instructions
This commit is contained in:
@ -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 {}
|
||||
|
Reference in New Issue
Block a user