| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 93f57333a150498810f73f264c74082e2147ff3b..0b5128a881fbdca6e9bb761bdce585ea4114e50e 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -1925,7 +1925,7 @@ class JSReceiver: public HeapObject {
|
|
|
| // Returns the constructor name (the name (possibly, inferred name) of the
|
| // function that was used to instantiate the object).
|
| - String* constructor_name();
|
| + static Handle<String> GetConstructorName(Handle<JSReceiver> receiver);
|
|
|
| MUST_USE_RESULT static inline Maybe<PropertyAttributes> GetPropertyAttributes(
|
| Handle<JSReceiver> object, Handle<Name> name);
|
| @@ -5728,10 +5728,6 @@ class Map: public HeapObject {
|
| static Handle<Map> Normalize(Handle<Map> map, PropertyNormalizationMode mode,
|
| const char* reason);
|
|
|
| - // Returns the constructor name (the name (possibly, inferred name) of the
|
| - // function that was used to instantiate the object).
|
| - String* constructor_name();
|
| -
|
| // Tells whether the map is used for JSObjects in dictionary mode (ie
|
| // normalized objects, ie objects for which HasFastProperties returns false).
|
| // A map can never be used for both dictionary mode and fast mode JSObjects.
|
| @@ -6235,8 +6231,6 @@ class PrototypeInfo : public Struct {
|
| // given receiver embed the currently valid cell for that receiver's prototype
|
| // during their compilation and check it on execution.
|
| DECL_ACCESSORS(validity_cell, Object)
|
| - // [constructor_name]: User-friendly name of the original constructor.
|
| - DECL_ACCESSORS(constructor_name, Object)
|
|
|
| DECLARE_CAST(PrototypeInfo)
|
|
|
|
|