OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |