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

Unified Diff: src/objects.h

Issue 7039058: MIPS: arch-independent changes to support mips. (Closed)
Patch Set: Rebased on r7964. Created 9 years, 7 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index b51121338b2c2a738d42aca9aa40111eff290f11..716f1b3c6a0daf67e5269cb09d3e974f3fbdf623 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -6728,6 +6728,12 @@ class ObjectVisitor BASE_EMBEDDED {
// Handy shorthand for visiting a single pointer.
virtual void VisitPointer(Object** p) { VisitPointers(p, p + 1); }
+ // Variant of VisitPointer() can be defined in visitors where
+ // reloc info is needed (initially defined for mips).
+ virtual void VisitPointer(Object** p, RelocInfo* rinfo) {
+ VisitPointers(p, p + 1);
+ }
+
// Visits a contiguous arrays of external references (references to the C++
// heap) in the half-open range [start, end). Any or all of the values
// may be modified on return.

Powered by Google App Engine
This is Rietveld 408576698