(cursor, fiber)
| 10757 | } |
| 10758 | |
| 10759 | function pop(cursor, fiber) { |
| 10760 | if (index < 0) { |
| 10761 | { |
| 10762 | error('Unexpected pop.'); |
| 10763 | } |
| 10764 | |
| 10765 | return; |
| 10766 | } |
| 10767 | |
| 10768 | { |
| 10769 | if (fiber !== fiberStack[index]) { |
| 10770 | error('Unexpected Fiber popped.'); |
| 10771 | } |
| 10772 | } |
| 10773 | |
| 10774 | cursor.current = valueStack[index]; |
| 10775 | valueStack[index] = null; |
| 10776 | |
| 10777 | { |
| 10778 | fiberStack[index] = null; |
| 10779 | } |
| 10780 | |
| 10781 | index--; |
| 10782 | } |
| 10783 | |
| 10784 | function push(cursor, value, fiber) { |
| 10785 | index++; |
no test coverage detected