(cursor, fiber)
| 12625 | } |
| 12626 | |
| 12627 | function pop(cursor, fiber) { |
| 12628 | if (index < 0) { |
| 12629 | { |
| 12630 | warning(false, 'Unexpected pop.'); |
| 12631 | } |
| 12632 | return; |
| 12633 | } |
| 12634 | |
| 12635 | { |
| 12636 | if (fiber !== fiberStack[index]) { |
| 12637 | warning(false, 'Unexpected Fiber popped.'); |
| 12638 | } |
| 12639 | } |
| 12640 | |
| 12641 | cursor.current = valueStack[index]; |
| 12642 | |
| 12643 | valueStack[index] = null; |
| 12644 | |
| 12645 | { |
| 12646 | fiberStack[index] = null; |
| 12647 | } |
| 12648 | |
| 12649 | index--; |
| 12650 | } |
| 12651 | |
| 12652 | function push(cursor, value, fiber) { |
| 12653 | index++; |
no test coverage detected