Exemple #1
0
 public virtual void emitjumps(Expr s, int truejump, int falsejump)
 {
     if (truejump != 0 && falsejump != 0)
     {
         CurrentGenerator.If(s, truejump);
         CurrentGenerator.Goto(falsejump.ToString());
     }
     else if (truejump != 0)
     {
         CurrentGenerator.If(s, truejump);
     }
     else if (falsejump != 0)
     {
         CurrentGenerator.IfFalse(s, falsejump);
     }
 }