| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index bbb9d3e26d1ffe0676d1bc720205d8dd8f6a67c7..b4060a98a72a6ae67c3e13522b574d28f9ee4290 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -539,7 +539,7 @@ class SymbolTableVerifier : public ObjectVisitor {
|
| for (Object** p = start; p < end; p++) {
|
| if ((*p)->IsHeapObject()) {
|
| // Check that the symbol is actually a symbol.
|
| - ASSERT((*p)->IsNull() || (*p)->IsUndefined() || (*p)->IsSymbol());
|
| + ASSERT((*p)->IsTheHole() || (*p)->IsUndefined() || (*p)->IsSymbol());
|
| }
|
| }
|
| }
|
| @@ -6342,7 +6342,9 @@ void TranscendentalCache::Clear() {
|
| void ExternalStringTable::CleanUp() {
|
| int last = 0;
|
| for (int i = 0; i < new_space_strings_.length(); ++i) {
|
| - if (new_space_strings_[i] == heap_->raw_unchecked_null_value()) continue;
|
| + if (new_space_strings_[i] == heap_->raw_unchecked_the_hole_value()) {
|
| + continue;
|
| + }
|
| if (heap_->InNewSpace(new_space_strings_[i])) {
|
| new_space_strings_[last++] = new_space_strings_[i];
|
| } else {
|
| @@ -6352,7 +6354,9 @@ void ExternalStringTable::CleanUp() {
|
| new_space_strings_.Rewind(last);
|
| last = 0;
|
| for (int i = 0; i < old_space_strings_.length(); ++i) {
|
| - if (old_space_strings_[i] == heap_->raw_unchecked_null_value()) continue;
|
| + if (old_space_strings_[i] == heap_->raw_unchecked_the_hole_value()) {
|
| + continue;
|
| + }
|
| ASSERT(!heap_->InNewSpace(old_space_strings_[i]));
|
| old_space_strings_[last++] = old_space_strings_[i];
|
| }
|
|
|