| Index: src/code-stubs.h
|
| diff --git a/src/code-stubs.h b/src/code-stubs.h
|
| index 3c3c1946c72d7778d241428e18dca6fc7b3d8c48..3b6063ef36f30d6caaf1876f7c06b201763cb76a 100644
|
| --- a/src/code-stubs.h
|
| +++ b/src/code-stubs.h
|
| @@ -1998,8 +1998,7 @@ class ArrayConstructorStubBase : public HydrogenCodeStub {
|
| // It only makes sense to override local allocation site behavior
|
| // if there is a difference between the global allocation site policy
|
| // for an ElementsKind and the desired usage of the stub.
|
| - ASSERT(!(FLAG_track_allocation_sites &&
|
| - override_mode == DISABLE_ALLOCATION_SITES) ||
|
| + ASSERT(override_mode != DISABLE_ALLOCATION_SITES ||
|
| AllocationSite::GetMode(kind) == TRACK_ALLOCATION_SITE);
|
| bit_field_ = ElementsKindBits::encode(kind) |
|
| AllocationSiteOverrideModeBits::encode(override_mode) |
|
|
|