From b2a3b4079573b80ee92a54320ef04c8b42b10359 Mon Sep 17 00:00:00 2001 From: "Tristan B. Velloza Kildaire" Date: Mon, 12 Dec 2022 15:16:08 +0200 Subject: [PATCH] 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 --- source/tlang/compiler/codegen/instruction.d | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tlang/compiler/codegen/instruction.d b/source/tlang/compiler/codegen/instruction.d index b0c7b807..c5310025 100644 --- a/source/tlang/compiler/codegen/instruction.d +++ b/source/tlang/compiler/codegen/instruction.d @@ -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) */