Chromium Code Reviews| Index: src/objects-inl.h |
| diff --git a/src/objects-inl.h b/src/objects-inl.h |
| index 7b51f0d99ae0d32f93cccde47300548566562593..9af70f9f2606fdf595747e7b8088d0d29989ebad 100644 |
| --- a/src/objects-inl.h |
| +++ b/src/objects-inl.h |
| @@ -4027,6 +4027,11 @@ bool Code::is_inline_cache_stub() { |
| } |
| +bool Code::is_keyed_stub() { |
| + return is_keyed_load_stub() || is_keyed_store_stub() || is_keyed_call_stub(); |
| +} |
| + |
| + |
| bool Code::is_debug_stub() { |
| return ic_state() == DEBUG_STUB; |
| } |