示例#1
0
 public override void GenCode()
 {
     _left.GenCode();
     _right.GenCode();
     if (Target == Target.JVM)
     {
         Console.WriteLine("isub");
     }
     else
     {
         Console.WriteLine("sub");
     }
 }
示例#2
0
 public override void GenCode()
 {
     _left.GenCode();
     _right.GenCode();
     Console.WriteLine(Target == Target.JVM ? "iadd" : "add");
 }