Index: src/ic-inl.h |
=================================================================== |
--- src/ic-inl.h (revision 5318) |
+++ src/ic-inl.h (working copy) |
@@ -108,10 +108,10 @@ |
} |
-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); |
} |