(queue, update)
| 7251 | } |
| 7252 | |
| 7253 | function insertUpdateIntoQueue(queue, update) { |
| 7254 | // Append the update to the end of the list. |
| 7255 | if (queue.last === null) { |
| 7256 | // Queue is empty |
| 7257 | queue.first = queue.last = update; |
| 7258 | } else { |
| 7259 | queue.last.next = update; |
| 7260 | queue.last = update; |
| 7261 | } |
| 7262 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 7263 | queue.expirationTime = update.expirationTime; |
| 7264 | } |
| 7265 | } |
| 7266 | |
| 7267 | var q1 = void 0; |
| 7268 | var q2 = void 0; |
no outgoing calls
no test coverage detected