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 3370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3381 void CopyFrom(int dst_index, | 3381 void CopyFrom(int dst_index, |
3382 DescriptorArray* src, | 3382 DescriptorArray* src, |
3383 int src_index, | 3383 int src_index, |
3384 const WhitenessWitness&); | 3384 const WhitenessWitness&); |
3385 static Handle<DescriptorArray> Merge(Handle<DescriptorArray> desc, | 3385 static Handle<DescriptorArray> Merge(Handle<DescriptorArray> desc, |
3386 int verbatim, | 3386 int verbatim, |
3387 int valid, | 3387 int valid, |
3388 int new_size, | 3388 int new_size, |
3389 int modify_index, | 3389 int modify_index, |
3390 StoreMode store_mode, | 3390 StoreMode store_mode, |
3391 Handle<DescriptorArray> other); | 3391 Handle<DescriptorArray> other) |
3392 MUST_USE_RESULT MaybeObject* Merge(int verbatim, | 3392 V8_WARN_UNUSED_RESULT; |
3393 int valid, | |
3394 int new_size, | |
3395 int modify_index, | |
3396 StoreMode store_mode, | |
3397 DescriptorArray* other); | |
3398 | 3393 |
3399 bool IsMoreGeneralThan(int verbatim, | 3394 bool IsMoreGeneralThan(int verbatim, |
3400 int valid, | 3395 int valid, |
3401 int new_size, | 3396 int new_size, |
3402 DescriptorArray* other); | 3397 DescriptorArray* other); |
3403 | 3398 |
3404 MUST_USE_RESULT MaybeObject* CopyUpTo(int enumeration_index) { | 3399 MUST_USE_RESULT MaybeObject* CopyUpTo(int enumeration_index) { |
3405 return CopyUpToAddAttributes(enumeration_index, NONE); | 3400 return CopyUpToAddAttributes(enumeration_index, NONE); |
3406 } | 3401 } |
3407 | 3402 |
(...skipping 7345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10753 } else { | 10748 } else { |
10754 value &= ~(1 << bit_position); | 10749 value &= ~(1 << bit_position); |
10755 } | 10750 } |
10756 return value; | 10751 return value; |
10757 } | 10752 } |
10758 }; | 10753 }; |
10759 | 10754 |
10760 } } // namespace v8::internal | 10755 } } // namespace v8::internal |
10761 | 10756 |
10762 #endif // V8_OBJECTS_H_ | 10757 #endif // V8_OBJECTS_H_ |
OLD | NEW |