Index: src/accessors.h |
diff --git a/src/accessors.h b/src/accessors.h |
index dedde32ef92567dca47db5e2e413b430a1d8c1b3..d157aeaadf011035d459f9b4b24ea8c365169ac2 100644 |
--- a/src/accessors.h |
+++ b/src/accessors.h |
@@ -88,8 +88,10 @@ class Accessors : public AllStatic { |
// Returns true for properties that are accessors to object fields. |
// If true, *object_offset contains offset of object field. |
- static bool IsJSObjectFieldAccessor( |
- Handle<HeapType> map, Handle<String> name, int* object_offset); |
+ template <class T> |
+ static bool IsJSObjectFieldAccessor(typename T::TypeHandle type, |
+ Handle<String> name, |
+ int* object_offset); |
private: |