Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index fc4910946d85ec069a2a58b00b51b4edc9d4b545..1e67f7fdccd4d7a8a2d0a6a0ced3120c80c85e15 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -5983,17 +5983,12 @@ class Map: public HeapObject { |
// when we change object's prototype to a new one. |
// Cache format: |
// 0: finger - index of the first free cell in the cache |
- // 1: back pointer that overlaps with prototype transitions field. |
- // 2 + 2 * i: prototype |
- // 3 + 2 * i: target map |
+ // 1 + i: target map |
inline FixedArray* GetPrototypeTransitions(); |
inline bool HasPrototypeTransitions(); |
- static const int kProtoTransitionHeaderSize = 1; |
static const int kProtoTransitionNumberOfEntriesOffset = 0; |
- static const int kProtoTransitionElementsPerEntry = 2; |
- static const int kProtoTransitionPrototypeOffset = 0; |
- static const int kProtoTransitionMapOffset = 1; |
+ static const int kProtoTransitionHeaderSize = 1; |
inline int NumberOfProtoTransitions() { |
FixedArray* cache = GetPrototypeTransitions(); |