| Index: src/runtime.cc
|
| diff --git a/src/runtime.cc b/src/runtime.cc
|
| index 074d8dc59ddf6d12569904bcf9bc4ca227ee724f..3a25442de8f1136b31bfbbc42b3719ab539f4be8 100644
|
| --- a/src/runtime.cc
|
| +++ b/src/runtime.cc
|
| @@ -13479,9 +13479,9 @@ static MaybeObject* ArrayConstructorCommon(Isolate* isolate,
|
| MaybeObject* maybe_array;
|
| if (!type_info.is_null() &&
|
| *type_info != isolate->heap()->undefined_value() &&
|
| - JSGlobalPropertyCell::cast(*type_info)->value()->IsSmi() &&
|
| + Cell::cast(*type_info)->value()->IsSmi() &&
|
| can_use_type_feedback) {
|
| - JSGlobalPropertyCell* cell = JSGlobalPropertyCell::cast(*type_info);
|
| + Cell* cell = Cell::cast(*type_info);
|
| Smi* smi = Smi::cast(cell->value());
|
| ElementsKind to_kind = static_cast<ElementsKind>(smi->value());
|
| if (holey && !IsFastHoleyElementsKind(to_kind)) {
|
|
|