1246 {
1247 for (ObjectPtr* ptr = from; ptr <= to; ptr++) {
1248 ObjectPtr obj = *ptr;
1249 if (obj->IsHeapObject() && obj->untag()->IsEvacuationCandidate()) {
1250 if (is_card_remembered_) {
1251 if (!
Page::Of(visiting_)->IsCardRemembered(ptr)) {
1253 "%s: Old object %#" Px " references new object %#" Px
1254 ", but the "
1255 "slot's card is not remembered. Consider using rr to watch the "
1256 "slot %p and reverse-continue to find the store with a missing "
1257 "barrier.\n",
1258 msg_,
static_cast<uword>(visiting_),
static_cast<uword>(obj),
1259 ptr);
1260 }
1261 } else if (!is_remembered_) {
1262 FATAL(
"%s: Old object %#" Px " references new object %#" Px
1263 ", but it is "
1264 "not in any store buffer. Consider using rr to watch the "
1265 "slot %p and reverse-continue to find the store with a missing "
1266 "barrier.\n",
1267 msg_,
static_cast<uword>(visiting_),
static_cast<uword>(obj),
1268 ptr);
1269 }
1270 }
1271 }
1272 }