| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 10cb4738abdf66c07be84b3900eeb9dd2d95c553..b27e0f7b41715d6e493f808432253a2b7d8f26b2 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -4147,6 +4147,9 @@ MaybeObject* Heap::AllocateInitialMap(JSFunction* fun) {
|
| String* name = fun->shared()->GetThisPropertyAssignmentName(i);
|
| ASSERT(name->IsInternalizedString());
|
| FieldDescriptor field(name, i, NONE, i + 1);
|
| + // TODO(verwaest): Since we cannot update the boilerplate's map yet,
|
| + // initialize to the worst case.
|
| + field.SetStorageType(TAGGED);
|
| descriptors->Set(i, &field, witness);
|
| }
|
| descriptors->Sort();
|
|
|