| Index: src/objects.h
 | 
| diff --git a/src/objects.h b/src/objects.h
 | 
| index f90662fc6c03e84109486bc83c794ae9ddb2493a..8c91302ba91ad02dbb4e54623bab0b139c4fd956 100644
 | 
| --- a/src/objects.h
 | 
| +++ b/src/objects.h
 | 
| @@ -1893,6 +1893,8 @@ class HeapObject: public Object {
 | 
|    inline void IteratePointers(ObjectVisitor* v, int start, int end);
 | 
|    // as above, for the single element at "offset"
 | 
|    inline void IteratePointer(ObjectVisitor* v, int offset);
 | 
| +  // as above, for the next code link of a code object.
 | 
| +  inline void IterateNextCodeLink(ObjectVisitor* v, int offset);
 | 
|  
 | 
|   private:
 | 
|    DISALLOW_IMPLICIT_CONSTRUCTORS(HeapObject);
 | 
| @@ -5198,7 +5200,6 @@ class Code: public HeapObject {
 | 
|    // the kind of the code object.
 | 
|    //   FUNCTION           => type feedback information.
 | 
|    //   STUB               => various things, e.g. a SMI
 | 
| -  //   OPTIMIZED_FUNCTION => the next_code_link for optimized code list.
 | 
|    DECL_ACCESSORS(raw_type_feedback_info, Object)
 | 
|    inline Object* type_feedback_info();
 | 
|    inline void set_type_feedback_info(
 | 
| @@ -5528,8 +5529,8 @@ class Code: public HeapObject {
 | 
|        kHandlerTableOffset + kPointerSize;
 | 
|    static const int kTypeFeedbackInfoOffset =
 | 
|        kDeoptimizationDataOffset + kPointerSize;
 | 
| -  static const int kNextCodeLinkOffset = kTypeFeedbackInfoOffset;  // Shared.
 | 
| -  static const int kGCMetadataOffset = kTypeFeedbackInfoOffset + kPointerSize;
 | 
| +  static const int kNextCodeLinkOffset = kTypeFeedbackInfoOffset + kPointerSize;
 | 
| +  static const int kGCMetadataOffset = kNextCodeLinkOffset + kPointerSize;
 | 
|    static const int kICAgeOffset =
 | 
|        kGCMetadataOffset + kPointerSize;
 | 
|    static const int kFlagsOffset = kICAgeOffset + kIntSize;
 | 
| @@ -10699,6 +10700,9 @@ class ObjectVisitor BASE_EMBEDDED {
 | 
|    // Handy shorthand for visiting a single pointer.
 | 
|    virtual void VisitPointer(Object** p) { VisitPointers(p, p + 1); }
 | 
|  
 | 
| +  // Visit weak next_code_link in Code object.
 | 
| +  virtual void VisitNextCodeLink(Object** p) { VisitPointers(p, p + 1); }
 | 
| +
 | 
|    // To allow lazy clearing of inline caches the visitor has
 | 
|    // a rich interface for iterating over Code objects..
 | 
|  
 | 
| 
 |