| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 68c11596ebae2509984ceb0a5246cd61b356b02c..b39f6b270aec3b5ec30cda85a3d2475cfe959e02 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -2212,7 +2212,7 @@ void CallIC::HandleMiss(Handle<Object> receiver, Handle<Object> function) {
|
| // Hand-coded MISS handling is easier if CallIC slots don't contain smis.
|
| DCHECK(!feedback->IsSmi());
|
|
|
| - if (feedback->IsJSFunction() || !function->IsJSFunction()) {
|
| + if (feedback->IsWeakCell() || !function->IsJSFunction()) {
|
| // We are going generic.
|
| nexus->ConfigureGeneric();
|
| } else {
|
|
|