* bidirectionally links two entries of the LRU linked list
(nextEntry, prevEntry)
| 6005 | * bidirectionally links two entries of the LRU linked list |
| 6006 | */ |
| 6007 | function link(nextEntry, prevEntry) { |
| 6008 | if (nextEntry != prevEntry) { |
| 6009 | if (nextEntry) nextEntry.p = prevEntry; //p stands for previous, 'prev' didn't minify |
| 6010 | if (prevEntry) prevEntry.n = nextEntry; //n stands for next, 'next' didn't minify |
| 6011 | } |
| 6012 | } |
| 6013 | } |
| 6014 | |
| 6015 |
no outgoing calls
no test coverage detected