| Index: src/objects.cc
|
| diff --git a/src/objects.cc b/src/objects.cc
|
| index 3a60a322a139ad3c495423cb05ca4581bd3662f3..df042a186424e8cb156074555fdfe3046b910c56 100644
|
| --- a/src/objects.cc
|
| +++ b/src/objects.cc
|
| @@ -15821,8 +15821,7 @@ Type* PropertyCell::UpdateType(Handle<PropertyCell> cell,
|
| Handle<Object> value) {
|
| Isolate* isolate = cell->GetIsolate();
|
| Handle<Type> old_type(cell->type(), isolate);
|
| - Handle<Type> new_type((value->IsSmi() || value->IsJSFunction() ||
|
| - value->IsUndefined())
|
| + Handle<Type> new_type((value->IsSmi() || value->IsUndefined())
|
| ? Type::Constant(value, isolate)
|
| : Type::Any(), isolate);
|
|
|
|
|