(cursor, fiber)
| 11935 | } |
| 11936 | |
| 11937 | function pop(cursor, fiber) { |
| 11938 | if (index < 0) { |
| 11939 | { |
| 11940 | warning(false, 'Unexpected pop.'); |
| 11941 | } |
| 11942 | return; |
| 11943 | } |
| 11944 | |
| 11945 | { |
| 11946 | if (fiber !== fiberStack[index]) { |
| 11947 | warning(false, 'Unexpected Fiber popped.'); |
| 11948 | } |
| 11949 | } |
| 11950 | |
| 11951 | cursor.current = valueStack[index]; |
| 11952 | |
| 11953 | valueStack[index] = null; |
| 11954 | |
| 11955 | { |
| 11956 | fiberStack[index] = null; |
| 11957 | } |
| 11958 | |
| 11959 | index--; |
| 11960 | } |
| 11961 | |
| 11962 | function push(cursor, value, fiber) { |
| 11963 | index++; |
no test coverage detected