| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index dca3eca11fa958e51344ab8b47d5b9e96bf1c836..53c45334d04c7296e154986e83ecc189e57b41e5 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -718,8 +718,8 @@ bool Object::IsDeoptimizationOutputData() {
|
| // There's actually no way to see the difference between a fixed array and
|
| // a deoptimization data array. Since this is used for asserts we can check
|
| // that the length is plausible though.
|
| - if (FixedArray::cast(this)->length() % 2 != 0) return false;
|
| - return true;
|
| + return (FixedArray::cast(this)->length() %
|
| + DeoptimizationOutputData::kDeoptPointElementCount == 0);
|
| }
|
|
|
|
|
|
|