Index: src/ic-inl.h |
diff --git a/src/ic-inl.h b/src/ic-inl.h |
index bd45c3e99d8a19a7778a6ef7439f4e4b18944ad9..1840587934e9c4c4048ae07a824f681e50dbd3ab 100644 |
--- a/src/ic-inl.h |
+++ b/src/ic-inl.h |
@@ -149,7 +149,7 @@ Handle<Map> IC::GetCodeCacheHolder(InlineCacheHolderFlag flag, |
} |
return handle(JSObject::cast(constructor->instance_prototype())->map()); |
} |
- return type->AsClass(); |
+ return TypeToMap(type, isolate); |
} |