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