| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 15ecdd1412c5e10a3a0fd564e3aa55c4f2a56633..9aa3fd1db36a63dbee32c8631b71a157f2c9e958 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4749,14 +4749,6 @@ class Map: public HeapObject {
|
| inline void set_is_shared(bool value);
|
| inline bool is_shared();
|
|
|
| - // Tells whether the map is used for an object that is a prototype for another
|
| - // object or is the prototype on a function. Such maps are made faster by
|
| - // tweaking the heuristics that distinguish between regular object-oriented
|
| - // objects and the objects that are being used as hash maps. This flag is
|
| - // for optimization, not correctness.
|
| - inline void set_used_for_prototype(bool value);
|
| - inline bool used_for_prototype();
|
| -
|
| // Tells whether the instance needs security checks when accessing its
|
| // properties.
|
| inline void set_is_access_check_needed(bool access_check_needed);
|
| @@ -4944,9 +4936,7 @@ class Map: public HeapObject {
|
| // the original map. That way we can transition to the same map if the same
|
| // prototype is set, rather than creating a new map every time. The
|
| // transitions are in the form of a map where the keys are prototype objects
|
| - // and the values are the maps the are transitioned to. The special key
|
| - // the_hole denotes the map we should transition to when the
|
| - // used_for_prototype flag is set.
|
| + // and the values are the maps the are transitioned to.
|
| static const int kMaxCachedPrototypeTransitions = 256;
|
|
|
| Map* GetPrototypeTransition(Object* prototype);
|
| @@ -5042,7 +5032,6 @@ class Map: public HeapObject {
|
| // Bit positions for bit field 3
|
| static const int kIsShared = 0;
|
| static const int kFunctionWithPrototype = 1;
|
| - static const int kUsedForPrototype = 2;
|
|
|
| typedef FixedBodyDescriptor<kPointerFieldsBeginOffset,
|
| kPointerFieldsEndOffset,
|
|
|