Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 8dd3fc35d076aa5bd6c9f5cb73ac8da158dfb98c..64ce5f4243769feafa14ce8a5a59cb29233c737f 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -3151,9 +3151,12 @@ class DescriptorArray: public FixedArray { |
enum SearchMode { ALL_ENTRIES, VALID_ENTRIES }; |
-template <SearchMode search_mode, typename T> |
-inline int Search(T* array, Name* name, int valid_entries = 0, |
- int* out_insertion_index = NULL); |
+template<SearchMode search_mode, typename T> |
+inline int LinearSearch(T* array, Name* name, int len, int valid_entries); |
+ |
+ |
+template<SearchMode search_mode, typename T> |
+inline int Search(T* array, Name* name, int valid_entries = 0); |
// HashTable is a subclass of FixedArray that implements a hash table |