| 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 6200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6211 Descriptor* descriptor); | 6211 Descriptor* descriptor); |
| 6212 MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor, | 6212 MUST_USE_RESULT MaybeObject* CopyAddDescriptor(Descriptor* descriptor, |
| 6213 TransitionFlag flag); | 6213 TransitionFlag flag); |
| 6214 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, | 6214 MUST_USE_RESULT MaybeObject* CopyInsertDescriptor(Descriptor* descriptor, |
| 6215 TransitionFlag flag); | 6215 TransitionFlag flag); |
| 6216 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor( | 6216 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptor( |
| 6217 DescriptorArray* descriptors, | 6217 DescriptorArray* descriptors, |
| 6218 Descriptor* descriptor, | 6218 Descriptor* descriptor, |
| 6219 int index, | 6219 int index, |
| 6220 TransitionFlag flag); | 6220 TransitionFlag flag); |
| 6221 static Handle<Map> AsElementsKind(Handle<Map> map, ElementsKind kind); |
| 6221 MUST_USE_RESULT MaybeObject* AsElementsKind(ElementsKind kind); | 6222 MUST_USE_RESULT MaybeObject* AsElementsKind(ElementsKind kind); |
| 6222 | 6223 |
| 6223 MUST_USE_RESULT MaybeObject* CopyAsElementsKind(ElementsKind kind, | 6224 MUST_USE_RESULT MaybeObject* CopyAsElementsKind(ElementsKind kind, |
| 6224 TransitionFlag flag); | 6225 TransitionFlag flag); |
| 6225 | 6226 |
| 6226 static Handle<Map> CopyForObserved(Handle<Map> map); | 6227 static Handle<Map> CopyForObserved(Handle<Map> map); |
| 6227 | 6228 |
| 6228 static Handle<Map> CopyNormalized(Handle<Map> map, | 6229 static Handle<Map> CopyNormalized(Handle<Map> map, |
| 6229 PropertyNormalizationMode mode, | 6230 PropertyNormalizationMode mode, |
| 6230 NormalizedMapSharingMode sharing); | 6231 NormalizedMapSharingMode sharing); |
| (...skipping 4550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10781 } else { | 10782 } else { |
| 10782 value &= ~(1 << bit_position); | 10783 value &= ~(1 << bit_position); |
| 10783 } | 10784 } |
| 10784 return value; | 10785 return value; |
| 10785 } | 10786 } |
| 10786 }; | 10787 }; |
| 10787 | 10788 |
| 10788 } } // namespace v8::internal | 10789 } } // namespace v8::internal |
| 10789 | 10790 |
| 10790 #endif // V8_OBJECTS_H_ | 10791 #endif // V8_OBJECTS_H_ |
| OLD | NEW |