diff --git a/src/objects-inl.h b/src/objects-inl.h index aeddfd14b5..b36cff97bc 100644 --- a/src/objects-inl.h +++ b/src/objects-inl.h @@ -6536,7 +6536,7 @@ void JSRegExp::SetDataAt(int index, Object* value) { ElementsKind JSObject::GetElementsKind() { ElementsKind kind = map()->elements_kind(); -#if VERIFY_HEAP +#if VERIFY_HEAP && DEBUG FixedArrayBase* fixed_array = reinterpret_cast(READ_FIELD(this, kElementsOffset));