diff options
Diffstat (limited to 'deps/v8/src/heap/scavenger.cc')
-rw-r--r-- | deps/v8/src/heap/scavenger.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/heap/scavenger.cc b/deps/v8/src/heap/scavenger.cc index d9f920ef7e3..f8c6d496ce2 100644 --- a/deps/v8/src/heap/scavenger.cc +++ b/deps/v8/src/heap/scavenger.cc @@ -202,5 +202,11 @@ void RootScavengeVisitor::ScavengePointer(Object** p) { reinterpret_cast<HeapObject*>(object)); } +RootScavengeVisitor::RootScavengeVisitor(Scavenger* scavenger) + : scavenger_(scavenger) {} + +ScavengeVisitor::ScavengeVisitor(Scavenger* scavenger) + : scavenger_(scavenger) {} + } // namespace internal } // namespace v8 |