| Index: src/heap-inl.h
|
| diff --git a/src/heap-inl.h b/src/heap-inl.h
|
| index 95e5c3c45997ef00f756afc910b844fca3074b23..80d97213d2f642d9d2590487926f6fe49e4a592b 100644
|
| --- a/src/heap-inl.h
|
| +++ b/src/heap-inl.h
|
| @@ -478,7 +478,7 @@ inline bool Heap::allow_allocation(bool new_state) {
|
|
|
| void ExternalStringTable::AddString(String* string) {
|
| ASSERT(string->IsExternalString());
|
| - if (HEAP->InNewSpace(string)) {
|
| + if (heap_->InNewSpace(string)) {
|
| new_space_strings_.Add(string);
|
| } else {
|
| old_space_strings_.Add(string);
|
| @@ -503,11 +503,11 @@ void ExternalStringTable::Iterate(ObjectVisitor* v) {
|
| void ExternalStringTable::Verify() {
|
| #ifdef DEBUG
|
| for (int i = 0; i < new_space_strings_.length(); ++i) {
|
| - ASSERT(HEAP->InNewSpace(new_space_strings_[i]));
|
| + ASSERT(heap_->InNewSpace(new_space_strings_[i]));
|
| ASSERT(new_space_strings_[i] != HEAP->raw_unchecked_null_value());
|
| }
|
| for (int i = 0; i < old_space_strings_.length(); ++i) {
|
| - ASSERT(!HEAP->InNewSpace(old_space_strings_[i]));
|
| + ASSERT(!heap_->InNewSpace(old_space_strings_[i]));
|
| ASSERT(old_space_strings_[i] != HEAP->raw_unchecked_null_value());
|
| }
|
| #endif
|
| @@ -516,7 +516,7 @@ void ExternalStringTable::Verify() {
|
|
|
| void ExternalStringTable::AddOldString(String* string) {
|
| ASSERT(string->IsExternalString());
|
| - ASSERT(!HEAP->InNewSpace(string));
|
| + ASSERT(!heap_->InNewSpace(string));
|
| old_space_strings_.Add(string);
|
| }
|
|
|
| @@ -528,7 +528,7 @@ void ExternalStringTable::ShrinkNewStrings(int position) {
|
|
|
|
|
| void Heap::ClearInstanceofCache() {
|
| - set_instanceof_cache_function(HEAP->the_hole_value());
|
| + set_instanceof_cache_function(the_hole_value());
|
| }
|
|
|
|
|
|
|