| Index: src/compiler/js-typed-lowering.cc
|
| diff --git a/src/compiler/js-typed-lowering.cc b/src/compiler/js-typed-lowering.cc
|
| index 83fb90d8bbe5e8d6da540f7f9bc5a528126a3a2d..6e6432c572d9775a5e111639317dc30f2724e755 100644
|
| --- a/src/compiler/js-typed-lowering.cc
|
| +++ b/src/compiler/js-typed-lowering.cc
|
| @@ -1211,7 +1211,7 @@
|
| // TODO(rossberg): Teach strong mode to FastCloneShallowArrayStub.
|
| if ((flags & ArrayLiteral::kShallowElements) != 0 &&
|
| (flags & ArrayLiteral::kIsStrong) == 0 &&
|
| - length < JSArray::kInitialMaxFastElementArray) {
|
| + length < JSObject::kInitialMaxFastElementArray) {
|
| Isolate* isolate = jsgraph()->isolate();
|
| Callable callable = CodeFactory::FastCloneShallowArray(isolate);
|
| CallDescriptor* desc = Linkage::GetStubCallDescriptor(
|
|
|