Home | History | Annotate | Download | only in runtime

Lines Matching refs:cell

177     // cell size needs to be a power of two for certain optimizations in collector.cpp
245 typedef CollectorCell Cell;
249 inline CollectorBlock* Heap::cellBlock(const JSCell* cell)
251 return reinterpret_cast<CollectorBlock*>(reinterpret_cast<uintptr_t>(cell) & BLOCK_MASK);
254 inline size_t Heap::cellOffset(const JSCell* cell)
256 return (reinterpret_cast<uintptr_t>(cell) & BLOCK_OFFSET_MASK) / CELL_SIZE;
259 inline bool Heap::isCellMarked(const JSCell* cell)
261 return cellBlock(cell)->marked.get(cellOffset(cell));
264 inline void Heap::markCell(JSCell* cell)
266 cellBlock(cell)->marked.set(cellOffset(cell));