( root, finishedLanes, remainingLanes, spawnedLane, updatedLanes, suspendedRetryLanes )
| 4215 | ((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0)); |
| 4216 | } |
| 4217 | function markRootFinished( |
| 4218 | root, |
| 4219 | finishedLanes, |
| 4220 | remainingLanes, |
| 4221 | spawnedLane, |
| 4222 | updatedLanes, |
| 4223 | suspendedRetryLanes |
| 4224 | ) { |
| 4225 | var previouslyPendingLanes = root.pendingLanes; |
| 4226 | root.pendingLanes = remainingLanes; |
| 4227 | root.suspendedLanes = 0; |
| 4228 | root.pingedLanes = 0; |
| 4229 | root.warmLanes = 0; |
| 4230 | root.expiredLanes &= remainingLanes; |
| 4231 | root.entangledLanes &= remainingLanes; |
| 4232 | root.errorRecoveryDisabledLanes &= remainingLanes; |
| 4233 | root.shellSuspendCounter = 0; |
| 4234 | var entanglements = root.entanglements, |
| 4235 | expirationTimes = root.expirationTimes, |
| 4236 | hiddenUpdates = root.hiddenUpdates; |
| 4237 | for ( |
| 4238 | remainingLanes = previouslyPendingLanes & ~remainingLanes; |
| 4239 | 0 < remainingLanes; |
| 4240 | |
| 4241 | ) { |
| 4242 | var index$7 = 31 - clz32(remainingLanes), |
| 4243 | lane = 1 << index$7; |
| 4244 | entanglements[index$7] = 0; |
| 4245 | expirationTimes[index$7] = -1; |
| 4246 | var hiddenUpdatesForLane = hiddenUpdates[index$7]; |
| 4247 | if (null !== hiddenUpdatesForLane) |
| 4248 | for ( |
| 4249 | hiddenUpdates[index$7] = null, index$7 = 0; |
| 4250 | index$7 < hiddenUpdatesForLane.length; |
| 4251 | index$7++ |
| 4252 | ) { |
| 4253 | var update = hiddenUpdatesForLane[index$7]; |
| 4254 | null !== update && (update.lane &= -536870913); |
| 4255 | } |
| 4256 | remainingLanes &= ~lane; |
| 4257 | } |
| 4258 | 0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0); |
| 4259 | 0 !== suspendedRetryLanes && |
| 4260 | 0 === updatedLanes && |
| 4261 | 0 !== root.tag && |
| 4262 | (root.suspendedLanes |= |
| 4263 | suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes)); |
| 4264 | } |
| 4265 | function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { |
| 4266 | root.pendingLanes |= spawnedLane; |
| 4267 | root.suspendedLanes &= ~spawnedLane; |
no test coverage detected
searching dependent graphs…