Home | History | Annotate | Download | only in heap

Lines Matching refs:top_

143       : array_(NULL), top_(0), bottom_(0), mask_(0), overflowed_(false) {}
152 top_ = bottom_ = 0;
156 inline bool IsFull() { return ((top_ + 1) & mask_) == bottom_; }
158 inline bool IsEmpty() { return top_ == bottom_; }
176 array_[top_] = object;
177 top_ = ((top_ + 1) & mask_);
186 array_[top_] = object;
187 top_ = ((top_ + 1) & mask_);
193 top_ = ((top_ - 1) & mask_);
194 HeapObject* object = array_[top_];
211 int top() { return top_; }
213 void set_top(int top) { top_ = top; }
218 // empty when top_ == bottom_. It is full when top_ + 1 == bottom
220 int top_;