Changeset 62367 in webkit for trunk/JavaScriptCore/runtime/Collector.cpp
- Timestamp:
- Jul 1, 2010, 11:31:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Collector.cpp
r62254 r62367 246 246 Structure* dummyMarkableCellStructure = m_globalData->dummyMarkableCellStructure.get(); 247 247 for (size_t i = 0; i < HeapConstants::cellsPerBlock; ++i) 248 new ( block->cells + i) JSCell(dummyMarkableCellStructure);248 new (&block->cells[i]) JSCell(dummyMarkableCellStructure); 249 249 250 250 // Add block to blocks vector. … … 385 385 ASSERT(m_heap.nextCell < HeapConstants::cellsPerBlock); 386 386 if (!block->marked.get(m_heap.nextCell)) { // Always false for the last cell in the block 387 Cell* cell = block->cells + m_heap.nextCell;387 Cell* cell = &block->cells[m_heap.nextCell]; 388 388 389 389 m_heap.operationInProgress = Allocation;
Note:
See TracChangeset
for help on using the changeset viewer.