(cursor, fiber)
| 12609 | } |
| 12610 | |
| 12611 | function pop(cursor, fiber) { |
| 12612 | if (index < 0) { |
| 12613 | { |
| 12614 | warning(false, 'Unexpected pop.'); |
| 12615 | } |
| 12616 | return; |
| 12617 | } |
| 12618 | |
| 12619 | { |
| 12620 | if (fiber !== fiberStack[index]) { |
| 12621 | warning(false, 'Unexpected Fiber popped.'); |
| 12622 | } |
| 12623 | } |
| 12624 | |
| 12625 | cursor.current = valueStack[index]; |
| 12626 | |
| 12627 | valueStack[index] = null; |
| 12628 | |
| 12629 | { |
| 12630 | fiberStack[index] = null; |
| 12631 | } |
| 12632 | |
| 12633 | index--; |
| 12634 | } |
| 12635 | |
| 12636 | function push(cursor, value, fiber) { |
| 12637 | index++; |
no test coverage detected