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

Side by Side Diff: src/objects.h

Issue 2204133002: Bring heap snapshot Map iterator up to date. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | src/objects-inl.h » ('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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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 #include <memory> 9 #include <memory>
10 10
(...skipping 6242 matching lines...) Expand 10 before | Expand all | Expand 10 after
6253 kPrototypeOffset + kPointerSize; 6253 kPrototypeOffset + kPointerSize;
6254 // When there is only one transition, it is stored directly in this field; 6254 // When there is only one transition, it is stored directly in this field;
6255 // otherwise a transition array is used. 6255 // otherwise a transition array is used.
6256 // For prototype maps, this slot is used to store this map's PrototypeInfo 6256 // For prototype maps, this slot is used to store this map's PrototypeInfo
6257 // struct. 6257 // struct.
6258 static const int kTransitionsOrPrototypeInfoOffset = 6258 static const int kTransitionsOrPrototypeInfoOffset =
6259 kConstructorOrBackPointerOffset + kPointerSize; 6259 kConstructorOrBackPointerOffset + kPointerSize;
6260 static const int kDescriptorsOffset = 6260 static const int kDescriptorsOffset =
6261 kTransitionsOrPrototypeInfoOffset + kPointerSize; 6261 kTransitionsOrPrototypeInfoOffset + kPointerSize;
6262 #if V8_DOUBLE_FIELDS_UNBOXING 6262 #if V8_DOUBLE_FIELDS_UNBOXING
6263 static const int kLayoutDecriptorOffset = kDescriptorsOffset + kPointerSize; 6263 static const int kLayoutDescriptorOffset = kDescriptorsOffset + kPointerSize;
6264 static const int kCodeCacheOffset = kLayoutDecriptorOffset + kPointerSize; 6264 static const int kCodeCacheOffset = kLayoutDescriptorOffset + kPointerSize;
6265 #else 6265 #else
6266 static const int kLayoutDecriptorOffset = 1; // Must not be ever accessed. 6266 static const int kLayoutDescriptorOffset = 1; // Must not be ever accessed.
6267 static const int kCodeCacheOffset = kDescriptorsOffset + kPointerSize; 6267 static const int kCodeCacheOffset = kDescriptorsOffset + kPointerSize;
6268 #endif 6268 #endif
6269 static const int kDependentCodeOffset = kCodeCacheOffset + kPointerSize; 6269 static const int kDependentCodeOffset = kCodeCacheOffset + kPointerSize;
6270 static const int kWeakCellCacheOffset = kDependentCodeOffset + kPointerSize; 6270 static const int kWeakCellCacheOffset = kDependentCodeOffset + kPointerSize;
6271 static const int kSize = kWeakCellCacheOffset + kPointerSize; 6271 static const int kSize = kWeakCellCacheOffset + kPointerSize;
6272 6272
6273 // Layout of pointer fields. Heap iteration code relies on them 6273 // Layout of pointer fields. Heap iteration code relies on them
6274 // being continuously allocated. 6274 // being continuously allocated.
6275 static const int kPointerFieldsBeginOffset = Map::kPrototypeOffset; 6275 static const int kPointerFieldsBeginOffset = Map::kPrototypeOffset;
6276 static const int kPointerFieldsEndOffset = kSize; 6276 static const int kPointerFieldsEndOffset = kSize;
(...skipping 4786 matching lines...) Expand 10 before | Expand all | Expand 10 after
11063 } 11063 }
11064 return value; 11064 return value;
11065 } 11065 }
11066 }; 11066 };
11067 11067
11068 11068
11069 } // NOLINT, false-positive due to second-order macros. 11069 } // NOLINT, false-positive due to second-order macros.
11070 } // NOLINT, false-positive due to second-order macros. 11070 } // NOLINT, false-positive due to second-order macros.
11071 11071
11072 #endif // V8_OBJECTS_H_ 11072 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698