(queue, update)
| 7123 | } |
| 7124 | |
| 7125 | function insertUpdateIntoQueue(queue, update) { |
| 7126 | // Append the update to the end of the list. |
| 7127 | if (queue.last === null) { |
| 7128 | // Queue is empty |
| 7129 | queue.first = queue.last = update; |
| 7130 | } else { |
| 7131 | queue.last.next = update; |
| 7132 | queue.last = update; |
| 7133 | } |
| 7134 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 7135 | queue.expirationTime = update.expirationTime; |
| 7136 | } |
| 7137 | } |
| 7138 | |
| 7139 | var q1 = void 0; |
| 7140 | var q2 = void 0; |
no outgoing calls
no test coverage detected