* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / ilasm / codegen / BranchInstr.cs
index 84820ab61752aaeab2d646995e882129ee1344be..168112bd507ee561b063c6f5059a0884e21b8494 100644 (file)
@@ -18,14 +18,15 @@ namespace Mono.ILASM {
                 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);
                 }