(cursor, fiber)
| 12568 | } |
| 12569 | |
| 12570 | function pop(cursor, fiber) { |
| 12571 | if (index < 0) { |
| 12572 | { |
| 12573 | warning(false, 'Unexpected pop.'); |
| 12574 | } |
| 12575 | return; |
| 12576 | } |
| 12577 | |
| 12578 | { |
| 12579 | if (fiber !== fiberStack[index]) { |
| 12580 | warning(false, 'Unexpected Fiber popped.'); |
| 12581 | } |
| 12582 | } |
| 12583 | |
| 12584 | cursor.current = valueStack[index]; |
| 12585 | |
| 12586 | valueStack[index] = null; |
| 12587 | |
| 12588 | { |
| 12589 | fiberStack[index] = null; |
| 12590 | } |
| 12591 | |
| 12592 | index--; |
| 12593 | } |
| 12594 | |
| 12595 | function push(cursor, value, fiber) { |
| 12596 | index++; |
no test coverage detected