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

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

Issue 1080403004: Revert of Reland "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 6812 matching lines...) Expand 10 before | Expand all | Expand 10 after
7542 #undef READ_SHORT_FIELD 7544 #undef READ_SHORT_FIELD
7543 #undef WRITE_SHORT_FIELD 7545 #undef WRITE_SHORT_FIELD
7544 #undef READ_BYTE_FIELD 7546 #undef READ_BYTE_FIELD
7545 #undef WRITE_BYTE_FIELD 7547 #undef WRITE_BYTE_FIELD
7546 #undef NOBARRIER_READ_BYTE_FIELD 7548 #undef NOBARRIER_READ_BYTE_FIELD
7547 #undef NOBARRIER_WRITE_BYTE_FIELD 7549 #undef NOBARRIER_WRITE_BYTE_FIELD
7548 7550
7549 } } // namespace v8::internal 7551 } } // namespace v8::internal
7550 7552
7551 #endif // V8_OBJECTS_INL_H_ 7553 #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