| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index e6b691b9265664a4c28956cdf65481390e465779..063a695d1c4e17499b815563ef3a45c7c58b4711 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -2217,7 +2217,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 {
|
|
|