| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index fc34ed05919c35cc04adcd769665ffad69126da5..157d4ec48f35ae28fa3c4277dde3c0b9533be09c 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -2077,6 +2077,7 @@ class ArrayConstructorStubBase : public HydrogenCodeStub {
|
| // if there is a difference between the global allocation site policy
|
| // for an ElementsKind and the desired usage of the stub.
|
| DCHECK(override_mode != DISABLE_ALLOCATION_SITES ||
|
| + !FLAG_allocation_site_transitioning ||
|
| AllocationSite::GetMode(kind) == TRACK_ALLOCATION_SITE);
|
| set_sub_minor_key(ElementsKindBits::encode(kind) |
|
| AllocationSiteOverrideModeBits::encode(override_mode));
|
|
|