[heap] Fix a comment.
BUG= Change-Id: I7aed8e7bd35f59196b1b178942355aef4c97bca8 Reviewed-on: https://chromium-review.googlesource.com/451379 Reviewed-by: Hannes Payer <hpayer@chromium.org> Commit-Queue: Georg Neis <neis@chromium.org> Cr-Commit-Position: refs/heads/master@{#43667}
This commit is contained in:
parent
5fc1bd5b32
commit
dcf46a67c0
@ -266,7 +266,7 @@ class RememberedSet : public AllStatic {
|
||||
class UpdateTypedSlotHelper {
|
||||
public:
|
||||
// Updates a cell slot using an untyped slot callback.
|
||||
// The callback accepts (Heap*, Object**) and returns SlotCallbackResult.
|
||||
// The callback accepts Object** and returns SlotCallbackResult.
|
||||
template <typename Callback>
|
||||
static SlotCallbackResult UpdateCell(RelocInfo* rinfo, Callback callback) {
|
||||
DCHECK(rinfo->rmode() == RelocInfo::CELL);
|
||||
@ -280,7 +280,7 @@ class UpdateTypedSlotHelper {
|
||||
}
|
||||
|
||||
// Updates a code entry slot using an untyped slot callback.
|
||||
// The callback accepts (Heap*, Object**) and returns SlotCallbackResult.
|
||||
// The callback accepts Object** and returns SlotCallbackResult.
|
||||
template <typename Callback>
|
||||
static SlotCallbackResult UpdateCodeEntry(Address entry_address,
|
||||
Callback callback) {
|
||||
@ -295,7 +295,7 @@ class UpdateTypedSlotHelper {
|
||||
}
|
||||
|
||||
// Updates a code target slot using an untyped slot callback.
|
||||
// The callback accepts (Heap*, Object**) and returns SlotCallbackResult.
|
||||
// The callback accepts Object** and returns SlotCallbackResult.
|
||||
template <typename Callback>
|
||||
static SlotCallbackResult UpdateCodeTarget(RelocInfo* rinfo,
|
||||
Callback callback) {
|
||||
@ -310,7 +310,7 @@ class UpdateTypedSlotHelper {
|
||||
}
|
||||
|
||||
// Updates an embedded pointer slot using an untyped slot callback.
|
||||
// The callback accepts (Heap*, Object**) and returns SlotCallbackResult.
|
||||
// The callback accepts Object** and returns SlotCallbackResult.
|
||||
template <typename Callback>
|
||||
static SlotCallbackResult UpdateEmbeddedPointer(RelocInfo* rinfo,
|
||||
Callback callback) {
|
||||
@ -325,7 +325,7 @@ class UpdateTypedSlotHelper {
|
||||
}
|
||||
|
||||
// Updates a debug target slot using an untyped slot callback.
|
||||
// The callback accepts (Heap*, Object**) and returns SlotCallbackResult.
|
||||
// The callback accepts Object** and returns SlotCallbackResult.
|
||||
template <typename Callback>
|
||||
static SlotCallbackResult UpdateDebugTarget(RelocInfo* rinfo,
|
||||
Callback callback) {
|
||||
@ -339,7 +339,7 @@ class UpdateTypedSlotHelper {
|
||||
}
|
||||
|
||||
// Updates a typed slot using an untyped slot callback.
|
||||
// The callback accepts (Heap*, Object**) and returns SlotCallbackResult.
|
||||
// The callback accepts Object** and returns SlotCallbackResult.
|
||||
template <typename Callback>
|
||||
static SlotCallbackResult UpdateTypedSlot(Isolate* isolate,
|
||||
SlotType slot_type, Address addr,
|
||||
|
Loading…
Reference in New Issue
Block a user