Changeset 178364 in webkit for trunk/Source/JavaScriptCore/heap/Heap.cpp
- Timestamp:
- Jan 13, 2015, 9:46:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/heap/Heap.cpp
r178284 r178364 506 506 // gathering uses the mark bits to determine whether a reference is valid. 507 507 void* dummy; 508 ALLOCATE_AND_GET_REGISTER_STATE(registers); 508 509 ConservativeRoots conservativeRoots(&m_objectSpace.blocks(), &m_storageSpace); 509 gatherStackRoots(conservativeRoots, &dummy );510 gatherStackRoots(conservativeRoots, &dummy, registers); 510 511 gatherJSStackRoots(conservativeRoots); 511 512 gatherScratchBufferRoots(conservativeRoots); … … 567 568 } 568 569 569 void Heap::gatherStackRoots(ConservativeRoots& roots, void** dummy )570 void Heap::gatherStackRoots(ConservativeRoots& roots, void** dummy, MachineThreads::RegisterState& registers) 570 571 { 571 572 GCPHASE(GatherStackRoots); 572 573 m_jitStubRoutines.clearMarks(); 573 m_machineThreads.gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks, dummy );574 m_machineThreads.gatherConservativeRoots(roots, m_jitStubRoutines, m_codeBlocks, dummy, registers); 574 575 } 575 576
Note:
See TracChangeset
for help on using the changeset viewer.