Added Context

This commit is contained in:
Tristan B. Kildaire 2021-11-09 15:49:59 +02:00
parent 8a8ddcee3a
commit 3b36113a5b
1 changed files with 4 additions and 0 deletions

View File

@ -1,9 +1,13 @@
module compiler.codegen.instruction;
import std.conv : to;
import compiler.typecheck.dependency : DNodeGenerator;
public class Instruction
{
/* Context for the Instruction (used in emitter for name resolution) */
public DNodeGenerator.Context context;
protected string addInfo;
this()