| Index: Source/platform/heap/Heap.cpp
|
| diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
|
| index df46d133688d3ee9bc79dffab064a89934370e03..5d6ff063e6de245e9a040cce3ef058e9371e1213 100644
|
| --- a/Source/platform/heap/Heap.cpp
|
| +++ b/Source/platform/heap/Heap.cpp
|
| @@ -1600,13 +1600,7 @@ Address Heap::checkAndMarkPointer(Visitor* visitor, Address address)
|
| #if ENABLE(GC_TRACING)
|
| const GCInfo* Heap::findGCInfo(Address address)
|
| {
|
| - ThreadState::AttachedThreadStateSet& threads = ThreadState::attachedThreads();
|
| - for (ThreadState::AttachedThreadStateSet::iterator it = threads.begin(), end = threads.end(); it != end; ++it) {
|
| - if (const GCInfo* gcInfo = (*it)->findGCInfo(address)) {
|
| - return gcInfo;
|
| - }
|
| - }
|
| - return 0;
|
| + return ThreadState::findGCInfoFromAllThreads(address);
|
| }
|
|
|
| void Heap::dumpPathToObjectOnNextGC(void* p)
|
|
|