public void InvokeTailCall(Operand destination, string method, params Operand[] args) { Invocation call = destination.Invoke(method, args) as Invocation; call.tailcall = true; BeforeStatement(); call.EmitGet(this); }
public void InvokeTailCall(Operand destination, string method, string labelName, params Operand[] args) { Invocation call = destination.Invoke(method, args) as Invocation; call.tailcall = true; BeforeStatement(); call.EmitGet(this); if (labelName != null) { IL.MarkLabel(RecordLabelMarked(LastLabel = labelName, GetNamedLabel(labelName))); } UnequivocableReturn(); }