OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 2791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2802 // descriptor array. | 2802 // descriptor array. |
2803 void CopyFrom(int dst_index, | 2803 void CopyFrom(int dst_index, |
2804 DescriptorArray* src, | 2804 DescriptorArray* src, |
2805 int src_index, | 2805 int src_index, |
2806 const WhitenessWitness&); | 2806 const WhitenessWitness&); |
2807 MUST_USE_RESULT MaybeObject* Merge(int verbatim, | 2807 MUST_USE_RESULT MaybeObject* Merge(int verbatim, |
2808 int valid, | 2808 int valid, |
2809 int new_size, | 2809 int new_size, |
2810 DescriptorArray* other); | 2810 DescriptorArray* other); |
2811 | 2811 |
| 2812 bool IsMoreGeneralThan(int verbatim, |
| 2813 int valid, |
| 2814 int new_size, |
| 2815 DescriptorArray* other); |
| 2816 |
2812 MUST_USE_RESULT MaybeObject* CopyUpTo(int enumeration_index); | 2817 MUST_USE_RESULT MaybeObject* CopyUpTo(int enumeration_index); |
2813 | 2818 |
2814 // Sort the instance descriptors by the hash codes of their keys. | 2819 // Sort the instance descriptors by the hash codes of their keys. |
2815 void Sort(); | 2820 void Sort(); |
2816 | 2821 |
2817 // Search the instance descriptors for given name. | 2822 // Search the instance descriptors for given name. |
2818 INLINE(int Search(Name* name, int number_of_own_descriptors)); | 2823 INLINE(int Search(Name* name, int number_of_own_descriptors)); |
2819 | 2824 |
2820 // As the above, but uses DescriptorLookupCache and updates it when | 2825 // As the above, but uses DescriptorLookupCache and updates it when |
2821 // necessary. | 2826 // necessary. |
(...skipping 6703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9525 } else { | 9530 } else { |
9526 value &= ~(1 << bit_position); | 9531 value &= ~(1 << bit_position); |
9527 } | 9532 } |
9528 return value; | 9533 return value; |
9529 } | 9534 } |
9530 }; | 9535 }; |
9531 | 9536 |
9532 } } // namespace v8::internal | 9537 } } // namespace v8::internal |
9533 | 9538 |
9534 #endif // V8_OBJECTS_H_ | 9539 #endif // V8_OBJECTS_H_ |
OLD | NEW |