| Index: src/debug/debug.cc
|
| diff --git a/src/debug/debug.cc b/src/debug/debug.cc
|
| index 76aae40f5d552aa3ce832e39f7f0338313a21cd0..096f39765e1ae16e6c1691bae54990877eaca075 100644
|
| --- a/src/debug/debug.cc
|
| +++ b/src/debug/debug.cc
|
| @@ -417,10 +417,10 @@ char* Debug::RestoreDebug(char* storage) {
|
|
|
| int Debug::ArchiveSpacePerThread() { return 0; }
|
|
|
| -void Debug::Iterate(ObjectVisitor* v) {
|
| - v->VisitPointer(&thread_local_.return_value_);
|
| - v->VisitPointer(&thread_local_.suspended_generator_);
|
| - v->VisitPointer(&thread_local_.ignore_step_into_function_);
|
| +void Debug::Iterate(RootVisitor* v) {
|
| + v->VisitRootPointer(Root::kDebug, &thread_local_.return_value_);
|
| + v->VisitRootPointer(Root::kDebug, &thread_local_.suspended_generator_);
|
| + v->VisitRootPointer(Root::kDebug, &thread_local_.ignore_step_into_function_);
|
| }
|
|
|
| DebugInfoListNode::DebugInfoListNode(DebugInfo* debug_info): next_(NULL) {
|
|
|