Example #1
0
 public override void Gen(int b, int a)
 {
     if (_stmt1 == Null)
     {
         _stmt2.Gen(b, a);
     }
     else if (_stmt2 == Null)
     {
         _stmt1.Gen(b, a);
     }
     else
     {
         var label = NewLabel();
         _stmt1.Gen(b, label);
         EmitLabel(label);
         _stmt2.Gen(label, a);
     }
 }