Ejemplo n.º 1
0
        protected void EntryPointRet(ESSlot slot, ClassToken returnType)
        {
            Object result = null;

            if ((returnType.IsPrimitive) && (!_primitiveOperations.IsPrimaryType(slot.TypeToken.PrimitiveType)))
            {
                result = _primitiveOperations.GetUnaryOperation(slot.TypeToken.PrimitiveType, UnaryPrimitiveOpType.GetStoreRep)(slot.Val);
            }
            else
            {
                result = slot.Val;
            }

            _setEntryPointRet(result);
        }
Ejemplo n.º 2
0
        public void TakeMethodReturnValue(IEvalStack callieEvalStack)
        {
            ESSlot topSlot = callieEvalStack.Pop();

            Context.EvalStack.Push(topSlot);
        }