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

Side by Side Diff: src/objects.h

Issue 1416003003: Cleanup FreeSpace: Remove getter for address of next pointer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 months 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/spaces.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 4382 matching lines...) Expand 10 before | Expand all | Expand 10 after
4393 inline int size() const; 4393 inline int size() const;
4394 inline void set_size(int value); 4394 inline void set_size(int value);
4395 4395
4396 inline int nobarrier_size() const; 4396 inline int nobarrier_size() const;
4397 inline void nobarrier_set_size(int value); 4397 inline void nobarrier_set_size(int value);
4398 4398
4399 inline int Size(); 4399 inline int Size();
4400 4400
4401 // Accessors for the next field. 4401 // Accessors for the next field.
4402 inline FreeSpace* next(); 4402 inline FreeSpace* next();
4403 inline FreeSpace** next_address();
4404 inline void set_next(FreeSpace* next); 4403 inline void set_next(FreeSpace* next);
4405 4404
4406 inline static FreeSpace* cast(HeapObject* obj); 4405 inline static FreeSpace* cast(HeapObject* obj);
4407 4406
4408 // Dispatched behavior. 4407 // Dispatched behavior.
4409 DECLARE_PRINTER(FreeSpace) 4408 DECLARE_PRINTER(FreeSpace)
4410 DECLARE_VERIFIER(FreeSpace) 4409 DECLARE_VERIFIER(FreeSpace)
4411 4410
4412 // Layout description. 4411 // Layout description.
4413 // Size is smi tagged when it is stored. 4412 // Size is smi tagged when it is stored.
(...skipping 6372 matching lines...) Expand 10 before | Expand all | Expand 10 after
10786 // (elements + properties) in the current level. 10785 // (elements + properties) in the current level.
10787 int levelLength_; 10786 int levelLength_;
10788 10787
10789 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator); 10788 DISALLOW_COPY_AND_ASSIGN(KeyAccumulator);
10790 }; 10789 };
10791 10790
10792 } // NOLINT, false-positive due to second-order macros. 10791 } // NOLINT, false-positive due to second-order macros.
10793 } // NOLINT, false-positive due to second-order macros. 10792 } // NOLINT, false-positive due to second-order macros.
10794 10793
10795 #endif // V8_OBJECTS_H_ 10794 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap/spaces.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698