(queue, update)
| 7220 | } |
| 7221 | |
| 7222 | function insertUpdateIntoQueue(queue, update) { |
| 7223 | // Append the update to the end of the list. |
| 7224 | if (queue.last === null) { |
| 7225 | // Queue is empty |
| 7226 | queue.first = queue.last = update; |
| 7227 | } else { |
| 7228 | queue.last.next = update; |
| 7229 | queue.last = update; |
| 7230 | } |
| 7231 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 7232 | queue.expirationTime = update.expirationTime; |
| 7233 | } |
| 7234 | } |
| 7235 | |
| 7236 | var q1 = void 0; |
| 7237 | var q2 = void 0; |
no outgoing calls
no test coverage detected