Chromium Code Reviews| Index: src/list-inl.h |
| diff --git a/src/list-inl.h b/src/list-inl.h |
| index 34fa027370714b686f91a85269e578de4061f7dc..e2c358ceea19c2e4a2654e08dbe54085e077da0c 100644 |
| --- a/src/list-inl.h |
| +++ b/src/list-inl.h |
| @@ -237,18 +237,6 @@ int SortedListBSearch(const List<T>& list, T elem) { |
| } |
| -template <class T> |
|
Kevin Millikin (Chromium)
2011/10/26 08:48:01
Excellent!
|
| -List<T*>* UnwrapHandleList(List<T*>* destination, List<Handle<T> >* source) { |
| - ASSERT(destination->is_empty()); |
| - int length = source->length(); |
| - for (int i = 0; i < length; ++i) { |
| - Handle<T> handle = source->at(i); |
| - destination->Add(handle.is_null() ? NULL : *handle); |
| - } |
| - return destination; |
| -} |
| - |
| - |
| } } // namespace v8::internal |
| #endif // V8_LIST_INL_H_ |