示例#1
0
 internal virtual Intermediate.IRNode CompileReturn(CompileContext context, Model.Scope localScope)
 {
     var r = new Intermediate.TransientNode();
     r.AddInstruction(Intermediate.Instructions.SET, Operand("PC"), Label(footerLabel));
     return r;
 }
示例#2
0
 public override Intermediate.IRNode Emit(CompileContext context, Model.Scope scope, Target target)
 {
     var r = new Intermediate.TransientNode();
     r.AddInstruction(Instructions.SET, target.GetOperand(TargetUsage.Push), Label(staticLabel));
     return r;
 }