(queue, update)
| 8141 | } |
| 8142 | |
| 8143 | function insertUpdateIntoQueue(queue, update) { |
| 8144 | // Append the update to the end of the list. |
| 8145 | if (queue.last === null) { |
| 8146 | // Queue is empty |
| 8147 | queue.first = queue.last = update; |
| 8148 | } else { |
| 8149 | queue.last.next = update; |
| 8150 | queue.last = update; |
| 8151 | } |
| 8152 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 8153 | queue.expirationTime = update.expirationTime; |
| 8154 | } |
| 8155 | } |
| 8156 | |
| 8157 | var q1 = void 0; |
| 8158 | var q2 = void 0; |
no outgoing calls
no test coverage detected