| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index c313333362ff7acfa2b3ff6ef519d800276dbeed..b21951cd92227c058397f362814075194f53bb3a 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -393,18 +393,11 @@ class PromotionQueue {
|
| emergency_stack_ = NULL;
|
| }
|
|
|
| - inline void ActivateGuardIfOnTheSamePage();
|
| -
|
| Page* GetHeadPage() {
|
| return Page::FromAllocationTop(reinterpret_cast<Address>(rear_));
|
| }
|
|
|
| void SetNewLimit(Address limit) {
|
| - if (!guard_) {
|
| - return;
|
| - }
|
| -
|
| - DCHECK(GetHeadPage() == Page::FromAllocationTop(limit));
|
| limit_ = reinterpret_cast<intptr_t*>(limit);
|
|
|
| if (limit_ <= rear_) {
|
| @@ -461,8 +454,6 @@ class PromotionQueue {
|
| intptr_t* rear_;
|
| intptr_t* limit_;
|
|
|
| - bool guard_;
|
| -
|
| static const int kEntrySizeInWords = 2;
|
|
|
| struct Entry {
|
|
|