| Index: src/ic/ic.cc
|
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc
|
| index 43f50a4117845778ee54cd70111d74965b34404b..fe474cdf956f27c4685e28bb90f241ba2c6b8f6f 100644
|
| --- a/src/ic/ic.cc
|
| +++ b/src/ic/ic.cc
|
| @@ -1043,8 +1043,7 @@ Handle<Object> IC::ComputeHandler(LookupIterator* lookup,
|
| // cache (which just missed) is different from the cached handler.
|
| if (state() == MEGAMORPHIC && lookup->GetReceiver()->IsHeapObject()) {
|
| Map* map = Handle<HeapObject>::cast(lookup->GetReceiver())->map();
|
| - Code* megamorphic_cached_code =
|
| - stub_cache()->Get(*lookup->name(), map, code->flags());
|
| + Code* megamorphic_cached_code = stub_cache()->Get(*lookup->name(), map);
|
| if (megamorphic_cached_code != *code) {
|
| TRACE_HANDLER_STATS(isolate(), IC_HandlerCacheHit);
|
| return code;
|
|
|