| Index: src/runtime/runtime-literals.cc
|
| diff --git a/src/runtime/runtime-literals.cc b/src/runtime/runtime-literals.cc
|
| index 4b94f2ab7c8cec9bd322e81b6eb65707eabcec80..e1923d2a66465f06df1677cf6d5a649ff55fb5e1 100644
|
| --- a/src/runtime/runtime-literals.cc
|
| +++ b/src/runtime/runtime-literals.cc
|
| @@ -85,7 +85,9 @@ MUST_USE_RESULT static MaybeHandle<Object> CreateObjectLiteralBoilerplate(
|
| uint32_t element_index = 0;
|
| if (key->ToArrayIndex(&element_index)) {
|
| // Array index (uint32).
|
| - if (value->IsUninitialized()) value = handle(Smi::FromInt(0), isolate);
|
| + if (value->IsUninitialized(isolate)) {
|
| + value = handle(Smi::FromInt(0), isolate);
|
| + }
|
| maybe_result = JSObject::SetOwnElementIgnoreAttributes(
|
| boilerplate, element_index, value, NONE);
|
| } else {
|
|
|