(queue, update)
| 7890 | } |
| 7891 | |
| 7892 | function insertUpdateIntoQueue(queue, update) { |
| 7893 | // Append the update to the end of the list. |
| 7894 | if (queue.last === null) { |
| 7895 | // Queue is empty |
| 7896 | queue.first = queue.last = update; |
| 7897 | } else { |
| 7898 | queue.last.next = update; |
| 7899 | queue.last = update; |
| 7900 | } |
| 7901 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 7902 | queue.expirationTime = update.expirationTime; |
| 7903 | } |
| 7904 | } |
| 7905 | |
| 7906 | var q1 = void 0; |
| 7907 | var q2 = void 0; |
no outgoing calls
no test coverage detected