| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index f853c3a43726404212102d9aa62c73387fd3cff9..4c98296d8a151c3b30092665364cb71bd67dd9a9 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -5238,8 +5238,6 @@ Object* Code::GetObjectFromEntryAddress(Address location_of_address) {
|
|
|
|
|
| bool Code::CanContainWeakObjects() {
|
| - // is_turbofanned() implies !can_have_weak_objects().
|
| - DCHECK(!is_optimized_code() || !is_turbofanned() || !can_have_weak_objects());
|
| return is_optimized_code() && can_have_weak_objects();
|
| }
|
|
|
|
|