Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index fa7ed6dbc1381f60aee70703a65d34566179dfba..a1358f2792b974b6835507027753e9249cea6c6e 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -164,7 +164,7 @@ class IC { |
// well as smis. |
// - The oddball map is only used for booleans. |
static Handle<Map> TypeToMap(Type* type, Isolate* isolate); |
- static Type* MapToType(Handle<Map> type); |
+ static Handle<Type> MapToType(Handle<Map> type); |
static Handle<Type> CurrentTypeOf(Handle<Object> object, Isolate* isolate); |
protected: |
@@ -230,7 +230,7 @@ class IC { |
virtual void UpdateMegamorphicCache(Type* type, Name* name, Code* code); |
void CopyICToMegamorphicCache(Handle<String> name); |
- bool IsTransitionOfMonomorphicTarget(Type* type); |
+ bool IsTransitionOfMonomorphicTarget(Handle<Type> type); |
void PatchCache(Handle<Type> type, |
Handle<String> name, |
Handle<Code> code); |