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

Unified Diff: src/snapshot/serializer.h

Issue 2810653002: Add a host parameter to ObjectVisitor methods. (Closed)
Patch Set: rebase 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
« no previous file with comments | « src/s390/assembler-s390-inl.h ('k') | src/snapshot/serializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/snapshot/serializer.h
diff --git a/src/snapshot/serializer.h b/src/snapshot/serializer.h
index 69f92a7ef1c13897c2229fa2368432e850a11edc..cc4d30bfc54514115eb9ffdccfef1eef74b37203 100644
--- a/src/snapshot/serializer.h
+++ b/src/snapshot/serializer.h
@@ -282,15 +282,15 @@ class Serializer::ObjectSerializer : public ObjectVisitor {
void Serialize();
void SerializeContent();
void SerializeDeferred();
- void VisitPointers(Object** start, Object** end) override;
- void VisitEmbeddedPointer(RelocInfo* target) override;
- void VisitExternalReference(Address* p) override;
- void VisitExternalReference(RelocInfo* rinfo) override;
- void VisitInternalReference(RelocInfo* rinfo) override;
- void VisitCodeTarget(RelocInfo* target) override;
- void VisitCodeEntry(Address entry_address) override;
- void VisitCell(RelocInfo* rinfo) override;
- void VisitRuntimeEntry(RelocInfo* reloc) override;
+ void VisitPointers(HeapObject* host, Object** start, Object** end) override;
+ void VisitEmbeddedPointer(Code* host, RelocInfo* target) override;
+ void VisitExternalReference(Foreign* host, Address* p) override;
+ void VisitExternalReference(Code* host, RelocInfo* rinfo) override;
+ void VisitInternalReference(Code* host, RelocInfo* rinfo) override;
+ void VisitCodeTarget(Code* host, RelocInfo* target) override;
+ void VisitCodeEntry(JSFunction* host, Address entry_address) override;
+ void VisitCellPointer(Code* host, RelocInfo* rinfo) override;
+ void VisitRuntimeEntry(Code* host, RelocInfo* reloc) override;
private:
bool TryEncodeDeoptimizationEntry(HowToCode how_to_code, Address target,
« no previous file with comments | « src/s390/assembler-s390-inl.h ('k') | src/snapshot/serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698