Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 0e065e67852d0368a5f8db95fb60e303a88b9471..8a48116f99f77e76726ec5cd8f47a604b754bd12 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4998,9 +4998,12 @@ class Code: public HeapObject { |
void FindAllMaps(MapHandleList* maps); |
void ReplaceFirstMap(Map* replace); |
- // Find the first code in an IC stub. |
- Code* FindFirstCode(); |
- void FindAllCode(CodeHandleList* code_list, int length); |
+ // Find the first handler in an IC stub. |
+ Code* FindFirstHandler(); |
+ |
+ // Find |length| handlers and put them into |code_list|. Returns false if not |
+ // enough handlers can be found. |
+ MUST_USE_RESULT bool FindHandlers(CodeHandleList* code_list, int length); |
// Find the first name in an IC stub. |
Name* FindFirstName(); |