Index: src/ic.h |
diff --git a/src/ic.h b/src/ic.h |
index 54fd1eb19ad64767137ab7ff3372f700d25d4d1f..99309f4edf261a53871bd9f9e031016c2e69f4b7 100644 |
--- a/src/ic.h |
+++ b/src/ic.h |
@@ -139,9 +139,12 @@ class IC { |
// well as smis. |
// - The oddball map is only used for booleans. |
static Handle<Map> TypeToMap(HeapType* type, Isolate* isolate); |
- static Handle<HeapType> MapToType(Handle<Map> map); |
- static Handle<HeapType> CurrentTypeOf( |
- Handle<Object> object, Isolate* isolate); |
+ template <class T> |
+ static typename T::TypeHandle MapToType(Handle<Map> map, |
+ typename T::Region* region); |
+ |
+ static Handle<HeapType> CurrentTypeOf(Handle<Object> object, |
+ Isolate* isolate); |
protected: |
// Get the call-site target; used for determining the state. |