private PEAPI.BranchOp op;
private LabelInfo label;
- public BranchInstr (PEAPI.BranchOp op, LabelInfo label)
+ public BranchInstr (PEAPI.BranchOp op, LabelInfo label, Location loc)
+ : base (loc)
{
this.op = op;
this.label = label;
}
- public void Emit (CodeGen code_gen, MethodDef meth,
- PEAPI.CILInstructions cil)
+ public override void Emit (CodeGen code_gen, MethodDef meth,
+ PEAPI.CILInstructions cil)
{
cil.Branch (op, label.Label);
}