(queue, update)
| 7983 | } |
| 7984 | |
| 7985 | function insertUpdateIntoQueue(queue, update) { |
| 7986 | // Append the update to the end of the list. |
| 7987 | if (queue.last === null) { |
| 7988 | // Queue is empty |
| 7989 | queue.first = queue.last = update; |
| 7990 | } else { |
| 7991 | queue.last.next = update; |
| 7992 | queue.last = update; |
| 7993 | } |
| 7994 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 7995 | queue.expirationTime = update.expirationTime; |
| 7996 | } |
| 7997 | } |
| 7998 | |
| 7999 | var q1 = void 0; |
| 8000 | var q2 = void 0; |
no outgoing calls
no test coverage detected