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

Side by Side Diff: src/objects.h

Issue 1224173003: [osr] Increase Code::profiler_ticks to 28 bits. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 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 5315 matching lines...) Expand 10 before | Expand all | Expand 10 after
5326 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask; 5326 (kHeaderPaddingStart + kCodeAlignmentMask) & ~kCodeAlignmentMask;
5327 5327
5328 // Byte offsets within kKindSpecificFlags1Offset. 5328 // Byte offsets within kKindSpecificFlags1Offset.
5329 static const int kFullCodeFlags = kKindSpecificFlags1Offset; 5329 static const int kFullCodeFlags = kKindSpecificFlags1Offset;
5330 class FullCodeFlagsHasDeoptimizationSupportField: 5330 class FullCodeFlagsHasDeoptimizationSupportField:
5331 public BitField<bool, 0, 1> {}; // NOLINT 5331 public BitField<bool, 0, 1> {}; // NOLINT
5332 class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {}; 5332 class FullCodeFlagsHasDebugBreakSlotsField: public BitField<bool, 1, 1> {};
5333 class FullCodeFlagsIsCompiledOptimizable: public BitField<bool, 2, 1> {}; 5333 class FullCodeFlagsIsCompiledOptimizable: public BitField<bool, 2, 1> {};
5334 class FullCodeFlagsHasRelocInfoForSerialization 5334 class FullCodeFlagsHasRelocInfoForSerialization
5335 : public BitField<bool, 3, 1> {}; 5335 : public BitField<bool, 3, 1> {};
5336 5336 class ProfilerTicksField : public BitField<int, 4, 28> {};
5337 static const int kProfilerTicksOffset = kFullCodeFlags + 1;
5338 5337
5339 // Flags layout. BitField<type, shift, size>. 5338 // Flags layout. BitField<type, shift, size>.
5340 class ICStateField : public BitField<InlineCacheState, 0, 4> {}; 5339 class ICStateField : public BitField<InlineCacheState, 0, 4> {};
5341 class TypeField : public BitField<StubType, 4, 1> {}; 5340 class TypeField : public BitField<StubType, 4, 1> {};
5342 class CacheHolderField : public BitField<CacheHolderFlag, 5, 2> {}; 5341 class CacheHolderField : public BitField<CacheHolderFlag, 5, 2> {};
5343 class KindField : public BitField<Kind, 7, 4> {}; 5342 class KindField : public BitField<Kind, 7, 4> {};
5344 class ExtraICStateField: public BitField<ExtraICState, 11, 5343 class ExtraICStateField: public BitField<ExtraICState, 11,
5345 PlatformSmiTagging::kSmiValueSize - 11 + 1> {}; // NOLINT 5344 PlatformSmiTagging::kSmiValueSize - 11 + 1> {}; // NOLINT
5346 5345
5347 // KindSpecificFlags1 layout (STUB and OPTIMIZED_FUNCTION) 5346 // KindSpecificFlags1 layout (STUB and OPTIMIZED_FUNCTION)
(...skipping 5476 matching lines...) Expand 10 before | Expand all | Expand 10 after
10824 } else { 10823 } else {
10825 value &= ~(1 << bit_position); 10824 value &= ~(1 << bit_position);
10826 } 10825 }
10827 return value; 10826 return value;
10828 } 10827 }
10829 }; 10828 };
10830 10829
10831 } } // namespace v8::internal 10830 } } // namespace v8::internal
10832 10831
10833 #endif // V8_OBJECTS_H_ 10832 #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