Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: src/objects.h

Issue 2809923002: Unify implementations of Map handles vectors and lists (Closed)
Patch Set: Style nit Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/ic/ic.cc ('K') | « src/ic/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 04ae7680cda2d0de9fdb1659202a83aa1c6d3dee..ec16040304e33d0826b8c33006be2d511762b4a9 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4439,6 +4439,7 @@ class DependentCode: public FixedArray {
class PrototypeInfo;
+typedef std::vector<Handle<Map>> MapHandles;
// All heap objects have a Map that describes their structure.
// A Map contains information about:
@@ -4961,7 +4962,7 @@ class Map: public HeapObject {
// Returns the transitioned map for this map with the most generic
// elements_kind that's found in |candidates|, or |nullptr| if no match is
// found at all.
- Map* FindElementsKindTransitionedMap(MapHandleList* candidates);
+ Map* FindElementsKindTransitionedMap(MapHandles const& candidates);
inline bool CanTransition();
« src/ic/ic.cc ('K') | « src/ic/ic.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698