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

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

Issue 1073053006: Revert of LayoutDescriptor should inherit from JSTypedArray (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/layout-descriptor-inl.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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 709
710 710
711 bool Object::IsDescriptorArray() const { 711 bool Object::IsDescriptorArray() const {
712 return IsFixedArray(); 712 return IsFixedArray();
713 } 713 }
714 714
715 715
716 bool Object::IsArrayList() const { return IsFixedArray(); } 716 bool Object::IsArrayList() const { return IsFixedArray(); }
717 717
718 718
719 bool Object::IsLayoutDescriptor() const { return IsSmi() || IsJSTypedArray(); } 719 bool Object::IsLayoutDescriptor() const {
720 return IsSmi() || IsFixedTypedArrayBase();
721 }
720 722
721 723
722 bool Object::IsTransitionArray() const { 724 bool Object::IsTransitionArray() const {
723 return IsFixedArray(); 725 return IsFixedArray();
724 } 726 }
725 727
726 728
727 bool Object::IsTypeFeedbackVector() const { return IsFixedArray(); } 729 bool Object::IsTypeFeedbackVector() const { return IsFixedArray(); }
728 730
729 731
(...skipping 6808 matching lines...) Expand 10 before | Expand all | Expand 10 after
7538 #undef READ_SHORT_FIELD 7540 #undef READ_SHORT_FIELD
7539 #undef WRITE_SHORT_FIELD 7541 #undef WRITE_SHORT_FIELD
7540 #undef READ_BYTE_FIELD 7542 #undef READ_BYTE_FIELD
7541 #undef WRITE_BYTE_FIELD 7543 #undef WRITE_BYTE_FIELD
7542 #undef NOBARRIER_READ_BYTE_FIELD 7544 #undef NOBARRIER_READ_BYTE_FIELD
7543 #undef NOBARRIER_WRITE_BYTE_FIELD 7545 #undef NOBARRIER_WRITE_BYTE_FIELD
7544 7546
7545 } } // namespace v8::internal 7547 } } // namespace v8::internal
7546 7548
7547 #endif // V8_OBJECTS_INL_H_ 7549 #endif // V8_OBJECTS_INL_H_
OLDNEW
« no previous file with comments | « src/layout-descriptor-inl.h ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698