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

Side by Side Diff: src/objects.h

Issue 892223002: tools: fix postmortem generator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 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/globals.h ('k') | tools/gen-postmortem-metadata.py » ('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 7053 matching lines...) Expand 10 before | Expand all | Expand 10 after
7064 kInstanceClassNameOffset + kPointerSize; 7064 kInstanceClassNameOffset + kPointerSize;
7065 static const int kScriptOffset = kFunctionDataOffset + kPointerSize; 7065 static const int kScriptOffset = kFunctionDataOffset + kPointerSize;
7066 static const int kDebugInfoOffset = kScriptOffset + kPointerSize; 7066 static const int kDebugInfoOffset = kScriptOffset + kPointerSize;
7067 static const int kInferredNameOffset = kDebugInfoOffset + kPointerSize; 7067 static const int kInferredNameOffset = kDebugInfoOffset + kPointerSize;
7068 static const int kFeedbackVectorOffset = 7068 static const int kFeedbackVectorOffset =
7069 kInferredNameOffset + kPointerSize; 7069 kInferredNameOffset + kPointerSize;
7070 #if TRACE_MAPS 7070 #if TRACE_MAPS
7071 static const int kUniqueIdOffset = kFeedbackVectorOffset + kPointerSize; 7071 static const int kUniqueIdOffset = kFeedbackVectorOffset + kPointerSize;
7072 static const int kLastPointerFieldOffset = kUniqueIdOffset; 7072 static const int kLastPointerFieldOffset = kUniqueIdOffset;
7073 #else 7073 #else
7074 // Just to not break the postmortrem support with conditional offsets
7075 static const int kUniqueIdOffset = kFeedbackVectorOffset;
7074 static const int kLastPointerFieldOffset = kFeedbackVectorOffset; 7076 static const int kLastPointerFieldOffset = kFeedbackVectorOffset;
7075 #endif 7077 #endif
7076 7078
7077 #if V8_HOST_ARCH_32_BIT 7079 #if V8_HOST_ARCH_32_BIT
7078 // Smi fields. 7080 // Smi fields.
7079 static const int kLengthOffset = kLastPointerFieldOffset + kPointerSize; 7081 static const int kLengthOffset = kLastPointerFieldOffset + kPointerSize;
7080 static const int kFormalParameterCountOffset = kLengthOffset + kPointerSize; 7082 static const int kFormalParameterCountOffset = kLengthOffset + kPointerSize;
7081 static const int kExpectedNofPropertiesOffset = 7083 static const int kExpectedNofPropertiesOffset =
7082 kFormalParameterCountOffset + kPointerSize; 7084 kFormalParameterCountOffset + kPointerSize;
7083 static const int kNumLiteralsOffset = 7085 static const int kNumLiteralsOffset =
(...skipping 3888 matching lines...) Expand 10 before | Expand all | Expand 10 after
10972 } else { 10974 } else {
10973 value &= ~(1 << bit_position); 10975 value &= ~(1 << bit_position);
10974 } 10976 }
10975 return value; 10977 return value;
10976 } 10978 }
10977 }; 10979 };
10978 10980
10979 } } // namespace v8::internal 10981 } } // namespace v8::internal
10980 10982
10981 #endif // V8_OBJECTS_H_ 10983 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/globals.h ('k') | tools/gen-postmortem-metadata.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698