| Index: src/heap.cc
|
| ===================================================================
|
| --- src/heap.cc (revision 9175)
|
| +++ src/heap.cc (working copy)
|
| @@ -2282,7 +2282,6 @@
|
| FixedArray* array) {
|
| if (!string->IsSymbol() || !pattern->IsSymbol()) return;
|
| uintptr_t hash = string->Hash();
|
| - array->set_map(heap->fixed_cow_array_map());
|
| uintptr_t index = ((hash & (kStringSplitCacheSize - 1)) &
|
| ~(kArrayEntriesPerCacheEntry - 1));
|
| if (cache->get(index + kStringOffset) == Smi::FromInt(0)) {
|
| @@ -2315,6 +2314,7 @@
|
| }
|
| }
|
| }
|
| + array->set_map(heap->fixed_cow_array_map());
|
| }
|
|
|
|
|
|
|