(cursor, fiber)
| 12667 | } |
| 12668 | |
| 12669 | function pop(cursor, fiber) { |
| 12670 | if (index < 0) { |
| 12671 | { |
| 12672 | warning(false, 'Unexpected pop.'); |
| 12673 | } |
| 12674 | return; |
| 12675 | } |
| 12676 | |
| 12677 | { |
| 12678 | if (fiber !== fiberStack[index]) { |
| 12679 | warning(false, 'Unexpected Fiber popped.'); |
| 12680 | } |
| 12681 | } |
| 12682 | |
| 12683 | cursor.current = valueStack[index]; |
| 12684 | |
| 12685 | valueStack[index] = null; |
| 12686 | |
| 12687 | { |
| 12688 | fiberStack[index] = null; |
| 12689 | } |
| 12690 | |
| 12691 | index--; |
| 12692 | } |
| 12693 | |
| 12694 | function push(cursor, value, fiber) { |
| 12695 | index++; |
no test coverage detected