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

Side by Side Diff: src/objects.h

Issue 2190093002: [heap] ObjectStats: Record fixed arrays in BytecodeArray (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 | « src/heap/object-stats.cc ('k') | no next file » | 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 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 STATIC_ASSERT(JS_OBJECT_TYPE == Internals::kJSObjectType); 761 STATIC_ASSERT(JS_OBJECT_TYPE == Internals::kJSObjectType);
762 STATIC_ASSERT(JS_API_OBJECT_TYPE == Internals::kJSApiObjectType); 762 STATIC_ASSERT(JS_API_OBJECT_TYPE == Internals::kJSApiObjectType);
763 STATIC_ASSERT(FIRST_NONSTRING_TYPE == Internals::kFirstNonstringType); 763 STATIC_ASSERT(FIRST_NONSTRING_TYPE == Internals::kFirstNonstringType);
764 STATIC_ASSERT(ODDBALL_TYPE == Internals::kOddballType); 764 STATIC_ASSERT(ODDBALL_TYPE == Internals::kOddballType);
765 STATIC_ASSERT(FOREIGN_TYPE == Internals::kForeignType); 765 STATIC_ASSERT(FOREIGN_TYPE == Internals::kForeignType);
766 766
767 767
768 std::ostream& operator<<(std::ostream& os, InstanceType instance_type); 768 std::ostream& operator<<(std::ostream& os, InstanceType instance_type);
769 769
770 #define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(V) \ 770 #define FIXED_ARRAY_SUB_INSTANCE_TYPE_LIST(V) \
771 V(BYTECODE_ARRAY_CONSTANT_POOL_SUB_TYPE) \
772 V(BYTECODE_ARRAY_HANDLER_TABLE_SUB_TYPE) \
771 V(CODE_STUBS_TABLE_SUB_TYPE) \ 773 V(CODE_STUBS_TABLE_SUB_TYPE) \
772 V(CONTEXT_SUB_TYPE) \ 774 V(CONTEXT_SUB_TYPE) \
773 V(COPY_ON_WRITE_SUB_TYPE) \ 775 V(COPY_ON_WRITE_SUB_TYPE) \
774 V(DEOPTIMIZATION_DATA_SUB_TYPE) \ 776 V(DEOPTIMIZATION_DATA_SUB_TYPE) \
775 V(DESCRIPTOR_ARRAY_SUB_TYPE) \ 777 V(DESCRIPTOR_ARRAY_SUB_TYPE) \
776 V(EMBEDDED_OBJECT_SUB_TYPE) \ 778 V(EMBEDDED_OBJECT_SUB_TYPE) \
777 V(ENUM_CACHE_SUB_TYPE) \ 779 V(ENUM_CACHE_SUB_TYPE) \
778 V(ENUM_INDICES_CACHE_SUB_TYPE) \ 780 V(ENUM_INDICES_CACHE_SUB_TYPE) \
779 V(DEPENDENT_CODE_SUB_TYPE) \ 781 V(DEPENDENT_CODE_SUB_TYPE) \
780 V(DICTIONARY_ELEMENTS_SUB_TYPE) \ 782 V(DICTIONARY_ELEMENTS_SUB_TYPE) \
(...skipping 10252 matching lines...) Expand 10 before | Expand all | Expand 10 after
11033 } 11035 }
11034 return value; 11036 return value;
11035 } 11037 }
11036 }; 11038 };
11037 11039
11038 11040
11039 } // NOLINT, false-positive due to second-order macros. 11041 } // NOLINT, false-positive due to second-order macros.
11040 } // NOLINT, false-positive due to second-order macros. 11042 } // NOLINT, false-positive due to second-order macros.
11041 11043
11042 #endif // V8_OBJECTS_H_ 11044 #endif // V8_OBJECTS_H_
OLDNEW
« no previous file with comments | « src/heap/object-stats.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698