(cursor, fiber)
| 12712 | } |
| 12713 | |
| 12714 | function pop(cursor, fiber) { |
| 12715 | if (index < 0) { |
| 12716 | { |
| 12717 | warning(false, 'Unexpected pop.'); |
| 12718 | } |
| 12719 | return; |
| 12720 | } |
| 12721 | |
| 12722 | { |
| 12723 | if (fiber !== fiberStack[index]) { |
| 12724 | warning(false, 'Unexpected Fiber popped.'); |
| 12725 | } |
| 12726 | } |
| 12727 | |
| 12728 | cursor.current = valueStack[index]; |
| 12729 | |
| 12730 | valueStack[index] = null; |
| 12731 | |
| 12732 | { |
| 12733 | fiberStack[index] = null; |
| 12734 | } |
| 12735 | |
| 12736 | index--; |
| 12737 | } |
| 12738 | |
| 12739 | function push(cursor, value, fiber) { |
| 12740 | index++; |
no test coverage detected