(workInProgress)
| 12179 | } |
| 12180 | } |
| 12181 | function pushMaterializedTreeId(workInProgress) { |
| 12182 | warnIfNotHydrating(); // This component materialized an id. This will affect any ids that appear |
| 12183 | // in its children. |
| 12184 | |
| 12185 | var returnFiber = workInProgress.return; |
| 12186 | |
| 12187 | if (returnFiber !== null) { |
| 12188 | var numberOfForks = 1; |
| 12189 | var slotIndex = 0; |
| 12190 | pushTreeFork(workInProgress, numberOfForks); |
| 12191 | pushTreeId(workInProgress, numberOfForks, slotIndex); |
| 12192 | } |
| 12193 | } |
| 12194 | |
| 12195 | function getBitLength(number) { |
| 12196 | return 32 - clz32(number); |
no test coverage detected
searching dependent graphs…