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