Index: src/heap/scavenger-inl.h |
diff --git a/src/heap/scavenger-inl.h b/src/heap/scavenger-inl.h |
index 9671f3615fc29f45a4314ffd40ac145537f7745d..4cc215a83e3665c6d9119618c7f3e39957e274a0 100644 |
--- a/src/heap/scavenger-inl.h |
+++ b/src/heap/scavenger-inl.h |
@@ -62,10 +62,8 @@ SlotCallbackResult Scavenger::CheckAndScavengeObject(Heap* heap, |
} |
// static |
-template <PromotionMode promotion_mode> |
-void StaticScavengeVisitor<promotion_mode>::VisitPointer(Heap* heap, |
- HeapObject* obj, |
- Object** p) { |
+void StaticScavengeVisitor::VisitPointer(Heap* heap, HeapObject* obj, |
+ Object** p) { |
Object* object = *p; |
if (!heap->InNewSpace(object)) return; |
Scavenger::ScavengeObject(reinterpret_cast<HeapObject**>(p), |