In List::Add, correctly handle the case of adding a reference to a
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 5 Mar 2009 08:10:42 +0000 (08:10 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 5 Mar 2009 08:10:42 +0000 (08:10 +0000)
commite37f6087c6749d031b04accdc067f834f2c86ebe
treedbb31f731266c5ab15ba832774d68daa2a364d24
parent567d9a603eb543f310546a82db91b17ead3e3a24
In List::Add, correctly handle the case of adding a reference to a
preexisting list element to a list, and to not return anything (we
never used the return value).  Remove List::Insert, it is not
currently used or needed.  Change List::AddBlock to take a copy of
the element to be replicated rather than a reference.

Review URL: http://codereview.chromium.org/39148

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1424 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/list-inl.h
src/list.h