Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: src/objects.h

Issue 1481953002: Move map retaining to finalization of incremental marking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_OBJECTS_H_ 5 #ifndef V8_OBJECTS_H_
6 #define V8_OBJECTS_H_ 6 #define V8_OBJECTS_H_
7 7
8 #include <iosfwd> 8 #include <iosfwd>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 2769 matching lines...) Expand 10 before | Expand all | Expand 10 after
2780 static Handle<ArrayList> Add(Handle<ArrayList> array, Handle<Object> obj, 2780 static Handle<ArrayList> Add(Handle<ArrayList> array, Handle<Object> obj,
2781 AddMode mode = kNone); 2781 AddMode mode = kNone);
2782 static Handle<ArrayList> Add(Handle<ArrayList> array, Handle<Object> obj1, 2782 static Handle<ArrayList> Add(Handle<ArrayList> array, Handle<Object> obj1,
2783 Handle<Object> obj2, AddMode = kNone); 2783 Handle<Object> obj2, AddMode = kNone);
2784 inline int Length(); 2784 inline int Length();
2785 inline void SetLength(int length); 2785 inline void SetLength(int length);
2786 inline Object* Get(int index); 2786 inline Object* Get(int index);
2787 inline Object** Slot(int index); 2787 inline Object** Slot(int index);
2788 inline void Set(int index, Object* obj); 2788 inline void Set(int index, Object* obj);
2789 inline void Clear(int index, Object* undefined); 2789 inline void Clear(int index, Object* undefined);
2790 bool IsFull();
2790 DECLARE_CAST(ArrayList) 2791 DECLARE_CAST(ArrayList)
2791 2792
2792 private: 2793 private:
2793 static Handle<ArrayList> EnsureSpace(Handle<ArrayList> array, int length); 2794 static Handle<ArrayList> EnsureSpace(Handle<ArrayList> array, int length);
2794 static const int kLengthIndex = 0; 2795 static const int kLengthIndex = 0;
2795 static const int kFirstIndex = 1; 2796 static const int kFirstIndex = 1;
2796 DISALLOW_IMPLICIT_CONSTRUCTORS(ArrayList); 2797 DISALLOW_IMPLICIT_CONSTRUCTORS(ArrayList);
2797 }; 2798 };
2798 2799
2799 2800
(...skipping 7884 matching lines...) Expand 10 before | Expand all | Expand 10 after
10684 } 10685 }
10685 return value; 10686 return value;
10686 } 10687 }
10687 }; 10688 };
10688 10689
10689 10690
10690 } // NOLINT, false-positive due to second-order macros. 10691 } // NOLINT, false-positive due to second-order macros.
10691 } // NOLINT, false-positive due to second-order macros. 10692 } // NOLINT, false-positive due to second-order macros.
10692 10693
10693 #endif // V8_OBJECTS_H_ 10694 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap/mark-compact.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698