| 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 5359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5370 inline bool owns_descriptors(); | 5370 inline bool owns_descriptors(); |
| 5371 inline void set_owns_descriptors(bool is_shared); | 5371 inline void set_owns_descriptors(bool is_shared); |
| 5372 inline bool is_observed(); | 5372 inline bool is_observed(); |
| 5373 inline void set_is_observed(bool is_observed); | 5373 inline void set_is_observed(bool is_observed); |
| 5374 inline void deprecate(); | 5374 inline void deprecate(); |
| 5375 inline bool is_deprecated(); | 5375 inline bool is_deprecated(); |
| 5376 inline bool CanBeDeprecated(); | 5376 inline bool CanBeDeprecated(); |
| 5377 // Returns a non-deprecated version of the input. If the input was not | 5377 // Returns a non-deprecated version of the input. If the input was not |
| 5378 // deprecated, it is directly returned. Otherwise, the non-deprecated version | 5378 // deprecated, it is directly returned. Otherwise, the non-deprecated version |
| 5379 // is found by re-transitioning from the root of the transition tree using the | 5379 // is found by re-transitioning from the root of the transition tree using the |
| 5380 // descriptor array of the map. New maps (and transitions) may be created if | 5380 // descriptor array of the map. Returns NULL if no updated map is found. |
| 5381 // no new (more general) version exists. | 5381 Map* CurrentMapForDeprecated(); |
| 5382 static inline Handle<Map> CurrentMapForDeprecated(Handle<Map> map); | |
| 5383 | 5382 |
| 5384 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); | 5383 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); |
| 5385 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); | 5384 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); |
| 5386 MUST_USE_RESULT MaybeObject* CopyDropDescriptors(); | 5385 MUST_USE_RESULT MaybeObject* CopyDropDescriptors(); |
| 5387 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors( | 5386 MUST_USE_RESULT MaybeObject* CopyReplaceDescriptors( |
| 5388 DescriptorArray* descriptors, | 5387 DescriptorArray* descriptors, |
| 5389 Name* name, | 5388 Name* name, |
| 5390 TransitionFlag flag, | 5389 TransitionFlag flag, |
| 5391 int descriptor_index); | 5390 int descriptor_index); |
| 5392 MUST_USE_RESULT MaybeObject* CopyInstallDescriptors( | 5391 MUST_USE_RESULT MaybeObject* CopyInstallDescriptors( |
| (...skipping 4215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9608 } else { | 9607 } else { |
| 9609 value &= ~(1 << bit_position); | 9608 value &= ~(1 << bit_position); |
| 9610 } | 9609 } |
| 9611 return value; | 9610 return value; |
| 9612 } | 9611 } |
| 9613 }; | 9612 }; |
| 9614 | 9613 |
| 9615 } } // namespace v8::internal | 9614 } } // namespace v8::internal |
| 9616 | 9615 |
| 9617 #endif // V8_OBJECTS_H_ | 9616 #endif // V8_OBJECTS_H_ |
| OLD | NEW |