Example #1
0
        public static CodeAddress call (CodeVector code, int jumpIndex)
        {
#if HAS_PERFORMANCE_COUNTERS
           if (Call.bounceCounter != null) Call.bounceCounter.Increment();
#endif
#if ALWAYS_THROW_TO_TRAMPOLINE
           throw new CodeVectorCallException (code, jumpIndex);
#else
           return code.Address (jumpIndex);
#endif
        }
Example #2
0
        public static CodeAddress call(CodeVector code, int jumpIndex)
        {
#if HAS_PERFORMANCE_COUNTERS
            if (Call.bounceCounter != null)
            {
                Call.bounceCounter.Increment();
            }
#endif
#if ALWAYS_THROW_TO_TRAMPOLINE
            throw new CodeVectorCallException(code, jumpIndex);
#else
            return(code.Address(jumpIndex));
#endif
        }
Example #3
0
 public CodeVectorCallException (CodeVector rtn, int j)
     : base (rtn.Address (j))
 {}
Example #4
0
 public CodeVectorCallException(CodeVector rtn, int j)
     : base(rtn.Address(j))
 {
 }