| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index dc648b2fd0cd55434c7f9ce172499f46f4e0d4d0..ae316ba044e67b5ff4ef6becf4606e977ffff589 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -289,9 +289,7 @@ static Handle<Object> CreateObjectLiteralBoilerplate(
|
| }
|
| Handle<Object> result;
|
| uint32_t element_index = 0;
|
| - JSReceiver::StoreMode mode = value->IsJSObject()
|
| - ? JSReceiver::FORCE_FIELD
|
| - : JSReceiver::ALLOW_AS_CONSTANT;
|
| + StoreMode mode = value->IsJSObject() ? FORCE_FIELD : ALLOW_AS_CONSTANT;
|
| if (key->IsInternalizedString()) {
|
| if (Handle<String>::cast(key)->AsArrayIndex(&element_index)) {
|
| // Array index as string (uint32).
|
|
|