(queue, update)
| 8028 | } |
| 8029 | |
| 8030 | function insertUpdateIntoQueue(queue, update) { |
| 8031 | // Append the update to the end of the list. |
| 8032 | if (queue.last === null) { |
| 8033 | // Queue is empty |
| 8034 | queue.first = queue.last = update; |
| 8035 | } else { |
| 8036 | queue.last.next = update; |
| 8037 | queue.last = update; |
| 8038 | } |
| 8039 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 8040 | queue.expirationTime = update.expirationTime; |
| 8041 | } |
| 8042 | } |
| 8043 | |
| 8044 | var q1 = void 0; |
| 8045 | var q2 = void 0; |
no outgoing calls
no test coverage detected