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

Unified Diff: src/objects-body-descriptors-inl.h

Issue 1488053002: Use FixedTypedArrayBase's body descriptor for static visiting (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/heap/scavenger.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-body-descriptors-inl.h
diff --git a/src/objects-body-descriptors-inl.h b/src/objects-body-descriptors-inl.h
index 718b889a4ab97cbc21ec4565a12c628c81da09f1..1b59356d08a3c9b93306345eb6279882a65281e9 100644
--- a/src/objects-body-descriptors-inl.h
+++ b/src/objects-body-descriptors-inl.h
@@ -102,7 +102,9 @@ void BodyDescriptorBase::IteratePointer(HeapObject* obj, int offset,
template <typename StaticVisitor>
void BodyDescriptorBase::IteratePointer(Heap* heap, HeapObject* obj,
int offset) {
- StaticVisitor::VisitPointer(heap, obj, HeapObject::RawField(obj, offset));
+ StaticVisitor::VisitPointers(
Igor Sheludko 2015/12/01 13:53:00 Why did you change this?
jochen (gone - plz use gerrit) 2015/12/01 14:00:57 because the StaticScavengingVisitor doesn't implem
Igor Sheludko 2015/12/01 14:09:09 I think it is better to modify signature of the St
+ heap, obj, HeapObject::RawField(obj, offset),
+ HeapObject::RawField(obj, offset + kPointerSize));
}
« no previous file with comments | « src/heap/scavenger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698