Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 77a3fcd27e3d3a56a66cf0beba28670de25a203e..83f2ab5e53c0e225c7a3344c50a208e34bed4392 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -7289,6 +7289,9 @@ void AccessorInfo::set_property_attributes(PropertyAttributes attributes) { |
set_flag(AttributesField::update(flag(), attributes)); |
} |
+bool FunctionTemplateInfo::IsTemplateFor(JSObject* object) { |
+ return IsTemplateFor(object->map()); |
+} |
bool AccessorInfo::IsCompatibleReceiver(Object* receiver) { |
if (!HasExpectedReceiverType()) return true; |