| Index: src/ic/ic-inl.h
|
| diff --git a/src/ic/ic-inl.h b/src/ic/ic-inl.h
|
| index 4fc8ada8df73e7af3fd35060ce9ca0cc8e16f2d8..f3db1cb8b9408d4a6de902c5d1c63b7c1ec40487 100644
|
| --- a/src/ic/ic-inl.h
|
| +++ b/src/ic/ic-inl.h
|
| @@ -92,6 +92,11 @@ Code* IC::target() const {
|
| return GetTargetAtAddress(address(), constant_pool());
|
| }
|
|
|
| +bool IC::IsHandler(Object* object) {
|
| + return (object->IsSmi() && (object != nullptr)) ||
|
| + (object->IsCode() && Code::cast(object)->is_handler());
|
| +}
|
| +
|
| Handle<Map> IC::GetHandlerCacheHolder(Handle<Map> receiver_map,
|
| bool receiver_is_holder, Isolate* isolate,
|
| CacheHolderFlag* flag) {
|
|
|