Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 417411d15524222bfb59708acd5b9a6f8589e24d..14c949b3b9e724e64c27b9e3b07de86af818af46 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4688,6 +4688,10 @@ class Code: public HeapObject { |
// Get the safepoint entry for the given pc. |
SafepointEntry GetSafepointEntry(Address pc); |
+ // Find an object in a stub with a specified map |
+ Object* FindNthObject(int n, Map* match_map); |
+ void ReplaceNthObject(int n, Map* match_map, Object* replace_with); |
+ |
// Find the first map in an IC stub. |
Map* FindFirstMap(); |
void FindAllMaps(MapHandleList* maps); |
@@ -4700,6 +4704,8 @@ class Code: public HeapObject { |
// Find the first name in an IC stub. |
Name* FindFirstName(); |
+ void ReplaceNthCell(int n, Cell* replace_with); |
+ |
class ExtraICStateStrictMode: public BitField<StrictModeFlag, 0, 1> {}; |
class ExtraICStateKeyedAccessStoreMode: |
public BitField<KeyedAccessStoreMode, 1, 4> {}; // NOLINT |