Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index 688c227643b7bef37d4f324410e6805c9d503683..9a42b75fc1894fe2026c88ba5baa29e7103c3b23 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -171,7 +171,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); |
ContextualMode contextual_mode() const { |
@@ -243,7 +243,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); |