(cursor, fiber)
| 11807 | } |
| 11808 | |
| 11809 | function pop(cursor, fiber) { |
| 11810 | if (index < 0) { |
| 11811 | { |
| 11812 | warning(false, 'Unexpected pop.'); |
| 11813 | } |
| 11814 | return; |
| 11815 | } |
| 11816 | |
| 11817 | { |
| 11818 | if (fiber !== fiberStack[index]) { |
| 11819 | warning(false, 'Unexpected Fiber popped.'); |
| 11820 | } |
| 11821 | } |
| 11822 | |
| 11823 | cursor.current = valueStack[index]; |
| 11824 | |
| 11825 | valueStack[index] = null; |
| 11826 | |
| 11827 | { |
| 11828 | fiberStack[index] = null; |
| 11829 | } |
| 11830 | |
| 11831 | index--; |
| 11832 | } |
| 11833 | |
| 11834 | function push(cursor, value, fiber) { |
| 11835 | index++; |
no test coverage detected