glasm: Implement basic GLASM instructions
This commit is contained in:
parent
c1ba685d9c
commit
6fd190d1ae
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