Instruction

- Added note about how we should change our approach to emitting code - it should not be done within the Instructions but rather in DGen somehow
This commit is contained in:
Tristan B. Velloza Kildaire 2022-12-12 15:16:08 +02:00
parent dfc90451bb
commit b2a3b40795
1 changed files with 5 additions and 0 deletions

View File

@ -8,6 +8,11 @@ import compiler.symbols.data : SymbolType;
import compiler.symbols.check : getCharacter;
import gogga;
/**
* TODO: We should actually remove the emits from here probably and rather do those in DGen
* as they are C specific
*/
public class Instruction
{
/* Context for the Instruction (used in emitter for name resolution) */