| Index: src/ic-inl.h
|
| diff --git a/src/ic-inl.h b/src/ic-inl.h
|
| index 25094ae9cf2a4ddf72b729dec7868eeb188000a7..3a96a3323f79e0d6ff742b73dc0a4c60c6906da1 100644
|
| --- a/src/ic-inl.h
|
| +++ b/src/ic-inl.h
|
| @@ -10,6 +10,7 @@
|
| #include "src/compiler.h"
|
| #include "src/debug.h"
|
| #include "src/macro-assembler.h"
|
| +#include "src/prototype-iterator.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -133,7 +134,7 @@ HeapObject* IC::GetCodeCacheHolder(Isolate* isolate,
|
| InlineCacheHolderFlag holder) {
|
| if (object->IsSmi()) holder = PROTOTYPE_MAP;
|
| Object* map_owner = holder == OWN_MAP
|
| - ? object : object->GetPrototype(isolate);
|
| + ? object : SAFE_GET_PROTOTYPE(isolate, object);
|
| return HeapObject::cast(map_owner);
|
| }
|
|
|
|
|