From: hpayer@chromium.org Date: Wed, 17 Jul 2013 09:57:56 +0000 (+0000) Subject: Use private field chunk_ X-Git-Tag: upstream/4.7.83~13344 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a3b856008b2f5424fed0f00c89667a08dba72a57;p=platform%2Fupstream%2Fv8.git Use private field chunk_ R=hpayer@chromium.org Review URL: https://codereview.chromium.org/19495002 Patch from HaiTao Feng . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mark-compact.h b/src/mark-compact.h index a50b9e5..a942600 100644 --- a/src/mark-compact.h +++ b/src/mark-compact.h @@ -958,12 +958,12 @@ class MarkBitCellIterator BASE_EMBEDDED { : chunk_(chunk) { last_cell_index_ = Bitmap::IndexToCell( Bitmap::CellAlignIndex( - chunk->AddressToMarkbitIndex(chunk->area_end()))); - cell_base_ = chunk->area_start(); + chunk_->AddressToMarkbitIndex(chunk_->area_end()))); + cell_base_ = chunk_->area_start(); cell_index_ = Bitmap::IndexToCell( Bitmap::CellAlignIndex( - chunk->AddressToMarkbitIndex(cell_base_))); - cells_ = chunk->markbits()->cells(); + chunk_->AddressToMarkbitIndex(cell_base_))); + cells_ = chunk_->markbits()->cells(); } inline bool Done() { return cell_index_ == last_cell_index_; }