glasm: Add GLASM backend infrastructure

This commit is contained in:
ReinUsesLisp 2021-05-05 02:19:08 -03:00 committed by ameerj
parent a739b6933e
commit d9b9c10f32
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 {}