| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index c7725788e803c8b71b5f77cd5de678050530377c..f123cc99095723f38b968614d541261ef7fcddc0 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -5372,7 +5372,6 @@ class Code: public HeapObject {
|
|
|
| // 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 allocation site in an IC stub.
|
| AllocationSite* FindFirstAllocationSite();
|
| @@ -5381,7 +5380,6 @@ class Code: public HeapObject {
|
| Map* FindFirstMap();
|
| void FindAllMaps(MapHandleList* maps);
|
| void FindAllTypes(TypeHandleList* types);
|
| - void ReplaceFirstMap(Map* replace);
|
|
|
| // Find the first handler in an IC stub.
|
| Code* FindFirstHandler();
|
| @@ -5393,7 +5391,8 @@ class Code: public HeapObject {
|
| // Find the first name in an IC stub.
|
| Name* FindFirstName();
|
|
|
| - void ReplaceNthCell(int n, Cell* replace_with);
|
| + class FindAndReplacePattern;
|
| + void FindAndReplace(const FindAndReplacePattern& pattern);
|
|
|
| // The entire code object including its header is copied verbatim to the
|
| // snapshot so that it can be written in one, fast, memcpy during
|
|
|