glasm: Add GLASM backend infrastructure
This commit is contained in:
parent
09dc23f971
commit
b10cf64c48
28 changed files with 3115 additions and 4 deletions
|
@ -218,6 +218,12 @@ public:
|
|||
return Common::BitCast<DefinitionType>(definition);
|
||||
}
|
||||
|
||||
/// Destructively remove one reference count from the instruction
|
||||
/// Useful for register allocation
|
||||
void DestructiveRemoveUsage() {
|
||||
--use_count;
|
||||
}
|
||||
|
||||
private:
|
||||
struct NonTriviallyDummy {
|
||||
NonTriviallyDummy() noexcept {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue