Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index cc77e1977d3f54f3be1f97f7e15900b6e5c074ac..bed9edce17cfa2be5beeedcadbd9f23ba918c4b4 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -1106,6 +1106,7 @@ class MaybeObject BASE_EMBEDDED { |
V(kEval, "eval") \ |
V(kExpected0AsASmiSentinel, "Expected 0 as a Smi sentinel") \ |
V(kExpectedAlignmentMarker, "expected alignment marker") \ |
+ V(kExpectedAllocationSite, "expected allocation site") \ |
V(kExpectedAllocationSiteInCell, \ |
"Expected AllocationSite in property cell") \ |
V(kExpectedPropertyCellInRegisterA2, \ |
@@ -5234,6 +5235,9 @@ class Code: public HeapObject { |
Object* FindNthObject(int n, Map* match_map); |
void ReplaceNthObject(int n, Map* match_map, Object* replace_with); |
+ // Find the first allocation site in an IC stub. |
+ AllocationSite* FindFirstAllocationSite(); |
+ |
// Find the first map in an IC stub. |
Map* FindFirstMap(); |
void FindAllMaps(MapHandleList* maps); |