Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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();
        }