(cursor, fiber)
| 11904 | } |
| 11905 | |
| 11906 | function pop(cursor, fiber) { |
| 11907 | if (index < 0) { |
| 11908 | { |
| 11909 | warning(false, 'Unexpected pop.'); |
| 11910 | } |
| 11911 | return; |
| 11912 | } |
| 11913 | |
| 11914 | { |
| 11915 | if (fiber !== fiberStack[index]) { |
| 11916 | warning(false, 'Unexpected Fiber popped.'); |
| 11917 | } |
| 11918 | } |
| 11919 | |
| 11920 | cursor.current = valueStack[index]; |
| 11921 | |
| 11922 | valueStack[index] = null; |
| 11923 | |
| 11924 | { |
| 11925 | fiberStack[index] = null; |
| 11926 | } |
| 11927 | |
| 11928 | index--; |
| 11929 | } |
| 11930 | |
| 11931 | function push(cursor, value, fiber) { |
| 11932 | index++; |
no test coverage detected