| Index: src/runtime/runtime-literals.cc
|
| diff --git a/src/runtime/runtime-literals.cc b/src/runtime/runtime-literals.cc
|
| index 49a45b1e93d61abc9bd35574de0e75f3ee3f2ab9..9c43b40dbe32428fb3c7aad2cb0b4a6a324ffcbe 100644
|
| --- a/src/runtime/runtime-literals.cc
|
| +++ b/src/runtime/runtime-literals.cc
|
| @@ -85,7 +85,9 @@
|
| 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 {
|
|
|