Chromium Code Reviews| Index: src/ic/ic.cc |
| diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
| index f896d16cabf2ca055a8e9d63bd60e538817fc830..41f2a334aabc709a3c2451efe9cfe3e274822559 100644 |
| --- a/src/ic/ic.cc |
| +++ b/src/ic/ic.cc |
| @@ -2181,7 +2181,9 @@ MaybeHandle<Object> KeyedStoreIC::Store(Handle<Object> object, |
| TRACE_GENERIC_IC(isolate(), "KeyedStoreIC", "slow stub"); |
| } |
| DCHECK(!stub.is_null()); |
| - set_target(*stub); |
| + if (!AddressIsDeoptimizedCode()) { |
| + set_target(*stub); |
| + } |
| TRACE_IC("StoreIC", key); |
| return store_handle; |