Added Context
This commit is contained in:
parent
8a8ddcee3a
commit
3b36113a5b
|
@ -1,9 +1,13 @@
|
||||||
module compiler.codegen.instruction;
|
module compiler.codegen.instruction;
|
||||||
|
|
||||||
import std.conv : to;
|
import std.conv : to;
|
||||||
|
import compiler.typecheck.dependency : DNodeGenerator;
|
||||||
|
|
||||||
public class Instruction
|
public class Instruction
|
||||||
{
|
{
|
||||||
|
/* Context for the Instruction (used in emitter for name resolution) */
|
||||||
|
public DNodeGenerator.Context context;
|
||||||
|
|
||||||
protected string addInfo;
|
protected string addInfo;
|
||||||
|
|
||||||
this()
|
this()
|
||||||
|
|
Loading…
Reference in New Issue