summaryrefslogtreecommitdiff
path: root/deps/v8/src/ic-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/ic-inl.h')
-rw-r--r--deps/v8/src/ic-inl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/ic-inl.h b/deps/v8/src/ic-inl.h
index 70bbaf8c9..94dbd5f51 100644
--- a/deps/v8/src/ic-inl.h
+++ b/deps/v8/src/ic-inl.h
@@ -108,10 +108,10 @@ InlineCacheHolderFlag IC::GetCodeCacheForObject(JSObject* object,
}
-Map* IC::GetCodeCacheMap(Object* object, InlineCacheHolderFlag holder) {
+JSObject* IC::GetCodeCacheHolder(Object* object, InlineCacheHolderFlag holder) {
Object* map_owner = (holder == OWN_MAP ? object : object->GetPrototype());
ASSERT(map_owner->IsJSObject());
- return JSObject::cast(map_owner)->map();
+ return JSObject::cast(map_owner);
}