Index: src/heap/scavenger.cc |
diff --git a/src/heap/scavenger.cc b/src/heap/scavenger.cc |
index d23cb6fcf978e80f958d222df0d7084a4b7e9502..792b91f2d5092bfd48963def592b43af2fc25ecc 100644 |
--- a/src/heap/scavenger.cc |
+++ b/src/heap/scavenger.cc |
@@ -36,7 +36,7 @@ class ScavengingVisitor : public StaticVisitorBase { |
table_.Register(kVisitByteArray, &EvacuateByteArray); |
table_.Register(kVisitFixedArray, &EvacuateFixedArray); |
table_.Register(kVisitFixedDoubleArray, &EvacuateFixedDoubleArray); |
- table_.Register(kVisitFixedTypedArray, &EvacuateFixedTypedArray); |
+ table_.Register(kVisitFixedTypedArrayBase, &EvacuateFixedTypedArray); |
table_.Register(kVisitFixedFloat64Array, &EvacuateFixedFloat64Array); |
table_.Register(kVisitJSArrayBuffer, |
&ObjectEvacuationStrategy<POINTER_OBJECT>::Visit); |
@@ -446,11 +446,10 @@ void Scavenger::SelectScavengingVisitorsTable() { |
// can't be evacuated into evacuation candidate but |
// short-circuiting violates this assumption. |
scavenging_visitors_table_.Register( |
- StaticVisitorBase::kVisitShortcutCandidate, |
- scavenging_visitors_table_.GetVisitorById( |
- StaticVisitorBase::kVisitConsString)); |
+ kVisitShortcutCandidate, |
+ scavenging_visitors_table_.GetVisitorById(kVisitConsString)); |
scavenging_visitors_table_.Register( |
- StaticVisitorBase::kVisitThinString, |
+ kVisitThinString, |
&ScavengingVisitor<TRANSFER_MARKS, LOGGING_AND_PROFILING_DISABLED>:: |
EvacuateThinStringNoShortcut); |
} |