| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index d44ae28053de6cce777caf8129c8fa84f07d0254..c8e2b368b51ce640e9c6df082f520f76677586e6 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1351,10 +1351,6 @@ class Object : public MaybeObject {
|
| inline bool IsExternal();
|
| inline bool IsAccessorInfo();
|
|
|
| - // Returns true if this object is an instance of the specified
|
| - // function template.
|
| - inline bool IsInstanceOf(FunctionTemplateInfo* type);
|
| -
|
| inline bool IsStruct();
|
| #define DECLARE_STRUCT_PREDICATE(NAME, Name, name) inline bool Is##Name();
|
| STRUCT_LIST(DECLARE_STRUCT_PREDICATE)
|
| @@ -10266,6 +10262,10 @@ class FunctionTemplateInfo: public TemplateInfo {
|
| static const int kLengthOffset = kFlagOffset + kPointerSize;
|
| static const int kSize = kLengthOffset + kPointerSize;
|
|
|
| + // Returns true if |object| is an instance of this function template.
|
| + bool IsTemplateFor(Object* object);
|
| + bool IsTemplateFor(Map* map);
|
| +
|
| private:
|
| // Bit position in the flag, from least significant bit position.
|
| static const int kHiddenPrototypeBit = 0;
|
|
|