Public Member Functions | Static Public Attributes

js::gc::Cell Struct Reference

#include <jscell.h>

Inheritance diagram for js::gc::Cell:

List of all members.

Public Member Functions

Arena< Cell > * arena () const
Chunkchunk () const
ArenaBitmapbitmap () const
JS_ALWAYS_INLINE size_t cellIndex () const
JS_ALWAYS_INLINE bool isMarked (uint32 color) const
JS_ALWAYS_INLINE bool markIfUnmarked (uint32 color) const
JSCompartmentcompartment () const
JS_ALWAYS_INLINE js::gc::CellasCell ()
JS_ALWAYS_INLINE js::gc::FreeCellasFreeCell ()

Static Public Attributes

static const size_t CellShift = 3
static const size_t CellSize = size_t(1) << CellShift
static const size_t CellMask = CellSize - 1

Member Function Documentation

Arena< Cell > * js::gc::Cell::arena (  )  const [inline]
JS_ALWAYS_INLINE js::gc::Cell* js::gc::Cell::asCell (  )  [inline]
JS_ALWAYS_INLINE js::gc::FreeCell* js::gc::Cell::asFreeCell (  )  [inline]
ArenaBitmap * js::gc::Cell::bitmap (  )  const [inline]
size_t js::gc::Cell::cellIndex (  )  const
Chunk * js::gc::Cell::chunk (  )  const [inline]
JSCompartment * js::gc::Cell::compartment (  )  const [inline]
bool js::gc::Cell::isMarked ( uint32  color = BLACK  )  const [inline]
bool js::gc::Cell::markIfUnmarked ( uint32  color = BLACK  )  const

Member Data Documentation

const size_t js::gc::Cell::CellMask = CellSize - 1 [static]
const size_t js::gc::Cell::CellShift = 3 [static]
const size_t js::gc::Cell::CellSize = size_t(1) << CellShift [static]

The documentation for this struct was generated from the following files: