| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 59201653ce7b18df2d2baaf87a3bcadd02120b4e..15989e7fff742479bf2855001758565dea31c5a5 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -10526,7 +10526,10 @@ class AccessorInfo: public Struct {
|
| inline void set_property_attributes(PropertyAttributes attributes);
|
|
|
| // Checks whether the given receiver is compatible with this accessor.
|
| - inline bool IsCompatibleReceiver(Object* receiver);
|
| + inline bool IsCompatibleReceiver(Map* map);
|
| + inline bool HasExpectedReceiverType() {
|
| + return expected_receiver_type()->IsFunctionTemplateInfo();
|
| + }
|
|
|
| DECLARE_CAST(AccessorInfo)
|
|
|
|
|