(cursor, fiber)
| 12825 | } |
| 12826 | |
| 12827 | function pop(cursor, fiber) { |
| 12828 | if (index < 0) { |
| 12829 | { |
| 12830 | warning(false, 'Unexpected pop.'); |
| 12831 | } |
| 12832 | return; |
| 12833 | } |
| 12834 | |
| 12835 | { |
| 12836 | if (fiber !== fiberStack[index]) { |
| 12837 | warning(false, 'Unexpected Fiber popped.'); |
| 12838 | } |
| 12839 | } |
| 12840 | |
| 12841 | cursor.current = valueStack[index]; |
| 12842 | |
| 12843 | valueStack[index] = null; |
| 12844 | |
| 12845 | { |
| 12846 | fiberStack[index] = null; |
| 12847 | } |
| 12848 | |
| 12849 | index--; |
| 12850 | } |
| 12851 | |
| 12852 | function push(cursor, value, fiber) { |
| 12853 | index++; |
no test coverage detected