glasm: Add GLASM backend infrastructure

This commit is contained in:
ReinUsesLisp 2021-05-05 02:19:08 -03:00 committed by ameerj
parent 09dc23f971
commit b10cf64c48
28 changed files with 3115 additions and 4 deletions

View file

@ -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 {}