| 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 5465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5476 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, | 5476 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, |
| 5477 TransitionFlag flag); | 5477 TransitionFlag flag); |
| 5478 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor( | 5478 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor( |
| 5479 DescriptorArray* descriptors, | 5479 DescriptorArray* descriptors, |
| 5480 Descriptor* descriptor, | 5480 Descriptor* descriptor, |
| 5481 int index, | 5481 int index, |
| 5482 TransitionFlag flag); | 5482 TransitionFlag flag); |
| 5483 MUST_USE_RESULT MaybeObject* AsElementsKind(ElementsKind kind); | 5483 MUST_USE_RESULT MaybeObject* AsElementsKind(ElementsKind kind); |
| 5484 MUST_USE_RESULT MaybeObject* CopyAsElementsKind(ElementsKind kind, | 5484 MUST_USE_RESULT MaybeObject* CopyAsElementsKind(ElementsKind kind, |
| 5485 TransitionFlag flag); | 5485 TransitionFlag flag); |
| 5486 | 5486 MUST_USE_RESULT MaybeObject* CopyForObserved(); |
| 5487 MUST_USE_RESULT MaybeObject* CopyNormalized(PropertyNormalizationMode mode, | 5487 MUST_USE_RESULT MaybeObject* CopyNormalized(PropertyNormalizationMode mode, |
| 5488 NormalizedMapSharingMode sharing); | 5488 NormalizedMapSharingMode sharing); |
| 5489 | 5489 |
| 5490 inline void AppendDescriptor(Descriptor* desc, | 5490 inline void AppendDescriptor(Descriptor* desc, |
| 5491 const DescriptorArray::WhitenessWitness&); | 5491 const DescriptorArray::WhitenessWitness&); |
| 5492 | 5492 |
| 5493 // Returns a copy of the map, with all transitions dropped from the | 5493 // Returns a copy of the map, with all transitions dropped from the |
| 5494 // instance descriptors. | 5494 // instance descriptors. |
| 5495 static Handle<Map> Copy(Handle<Map> map); | 5495 static Handle<Map> Copy(Handle<Map> map); |
| 5496 MUST_USE_RESULT MaybeObject* Copy(); | 5496 MUST_USE_RESULT MaybeObject* Copy(); |
| (...skipping 4313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9810 } else { | 9810 } else { |
| 9811 value &= ~(1 << bit_position); | 9811 value &= ~(1 << bit_position); |
| 9812 } | 9812 } |
| 9813 return value; | 9813 return value; |
| 9814 } | 9814 } |
| 9815 }; | 9815 }; |
| 9816 | 9816 |
| 9817 } } // namespace v8::internal | 9817 } } // namespace v8::internal |
| 9818 | 9818 |
| 9819 #endif // V8_OBJECTS_H_ | 9819 #endif // V8_OBJECTS_H_ |
| OLD | NEW |