(queue, update)
| 7925 | } |
| 7926 | |
| 7927 | function insertUpdateIntoQueue(queue, update) { |
| 7928 | // Append the update to the end of the list. |
| 7929 | if (queue.last === null) { |
| 7930 | // Queue is empty |
| 7931 | queue.first = queue.last = update; |
| 7932 | } else { |
| 7933 | queue.last.next = update; |
| 7934 | queue.last = update; |
| 7935 | } |
| 7936 | if (queue.expirationTime === NoWork || queue.expirationTime > update.expirationTime) { |
| 7937 | queue.expirationTime = update.expirationTime; |
| 7938 | } |
| 7939 | } |
| 7940 | |
| 7941 | var q1 = void 0; |
| 7942 | var q2 = void 0; |
no outgoing calls
no test coverage detected