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

Side by Side Diff: src/objects-inl.h

Issue 1384673002: The metadata part of TypeFeedbackVector is extracted to TypeFeedbackMetadata array. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Cleanup 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/objects.h ('k') | src/objects-printer.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 // Review notes: 5 // Review notes:
6 // 6 //
7 // - The use of macros in these inline functions may seem superfluous 7 // - The use of macros in these inline functions may seem superfluous
8 // but it is absolutely needed to make sure gcc generates optimal 8 // but it is absolutely needed to make sure gcc generates optimal
9 // code. gcc is not happy when attempting to inline too deep. 9 // code. gcc is not happy when attempting to inline too deep.
10 // 10 //
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 723
724 724
725 bool Object::IsTransitionArray() const { 725 bool Object::IsTransitionArray() const {
726 return IsFixedArray(); 726 return IsFixedArray();
727 } 727 }
728 728
729 729
730 bool Object::IsTypeFeedbackVector() const { return IsFixedArray(); } 730 bool Object::IsTypeFeedbackVector() const { return IsFixedArray(); }
731 731
732 732
733 bool Object::IsTypeFeedbackMetadata() const { return IsFixedArray(); }
734
735
733 bool Object::IsLiteralsArray() const { return IsFixedArray(); } 736 bool Object::IsLiteralsArray() const { return IsFixedArray(); }
734 bool Object::IsBindingsArray() const { return IsFixedArray(); } 737 bool Object::IsBindingsArray() const { return IsFixedArray(); }
735 738
736 739
737 bool Object::IsDeoptimizationInputData() const { 740 bool Object::IsDeoptimizationInputData() const {
738 // Must be a fixed array. 741 // Must be a fixed array.
739 if (!IsFixedArray()) return false; 742 if (!IsFixedArray()) return false;
740 743
741 // There's no sure way to detect the difference between a fixed array and 744 // There's no sure way to detect the difference between a fixed array and
742 // a deoptimization data array. Since this is used for asserts we can 745 // a deoptimization data array. Since this is used for asserts we can
(...skipping 7370 matching lines...) Expand 10 before | Expand all | Expand 10 after
8113 #undef WRITE_INT64_FIELD 8116 #undef WRITE_INT64_FIELD
8114 #undef READ_BYTE_FIELD 8117 #undef READ_BYTE_FIELD
8115 #undef WRITE_BYTE_FIELD 8118 #undef WRITE_BYTE_FIELD
8116 #undef NOBARRIER_READ_BYTE_FIELD 8119 #undef NOBARRIER_READ_BYTE_FIELD
8117 #undef NOBARRIER_WRITE_BYTE_FIELD 8120 #undef NOBARRIER_WRITE_BYTE_FIELD
8118 8121
8119 } // namespace internal 8122 } // namespace internal
8120 } // namespace v8 8123 } // namespace v8
8121 8124
8122 #endif // V8_OBJECTS_INL_H_ 8125 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698