Example #1
0
        public override int Run(InterpretedFrame frame)
        {
            frame.PopPendingContinuation();

            // If _pendingContinuation == -1 then we were getting into the finally block because an exception was thrown
            // In this case we just return 1, and the real instruction index will be calculated by GotoHandler later
            return(!frame.IsJumpHappened() ? 1 : frame.YieldToPendingContinuation());
            // jump to goto target or to the next finally:
        }