| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index bd85896af379693700874f8c413c044df9a774ea..d6c8296da1fb6999a9446b9531f1e7082d654df2 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -276,7 +276,7 @@ static void LookupForRead(LookupIterator* it) {
|
| }
|
| }
|
|
|
| -bool IC::ShouldRecomputeHandler(Handle<Object> receiver, Handle<String> name) {
|
| +bool IC::ShouldRecomputeHandler(Handle<String> name) {
|
| if (!RecomputeHandlerForName(name)) return false;
|
|
|
| DCHECK(UseVector());
|
| @@ -326,7 +326,7 @@ void IC::UpdateState(Handle<Object> receiver, Handle<Object> name) {
|
| // Remove the target from the code cache if it became invalid
|
| // because of changes in the prototype chain to avoid hitting it
|
| // again.
|
| - if (ShouldRecomputeHandler(receiver, Handle<String>::cast(name))) {
|
| + if (ShouldRecomputeHandler(Handle<String>::cast(name))) {
|
| MarkRecomputeHandler(name);
|
| }
|
| }
|
|
|