| 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 6020 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6031 inline bool is_stable(); | 6031 inline bool is_stable(); |
| 6032 inline void set_migration_target(bool value); | 6032 inline void set_migration_target(bool value); |
| 6033 inline bool is_migration_target(); | 6033 inline bool is_migration_target(); |
| 6034 inline void deprecate(); | 6034 inline void deprecate(); |
| 6035 inline bool is_deprecated(); | 6035 inline bool is_deprecated(); |
| 6036 inline bool CanBeDeprecated(); | 6036 inline bool CanBeDeprecated(); |
| 6037 // Returns a non-deprecated version of the input. If the input was not | 6037 // Returns a non-deprecated version of the input. If the input was not |
| 6038 // deprecated, it is directly returned. Otherwise, the non-deprecated version | 6038 // deprecated, it is directly returned. Otherwise, the non-deprecated version |
| 6039 // is found by re-transitioning from the root of the transition tree using the | 6039 // is found by re-transitioning from the root of the transition tree using the |
| 6040 // descriptor array of the map. Returns NULL if no updated map is found. | 6040 // descriptor array of the map. Returns NULL if no updated map is found. |
| 6041 Map* CurrentMapForDeprecated(); | 6041 static Handle<Map> CurrentMapForDeprecated(Handle<Map> map); |
| 6042 | 6042 |
| 6043 static Handle<Map> RawCopy(Handle<Map> map, int instance_size); | 6043 static Handle<Map> RawCopy(Handle<Map> map, int instance_size); |
| 6044 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); | 6044 MUST_USE_RESULT MaybeObject* RawCopy(int instance_size); |
| 6045 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); | 6045 MUST_USE_RESULT MaybeObject* CopyWithPreallocatedFieldDescriptors(); |
| 6046 static Handle<Map> CopyDropDescriptors(Handle<Map> map); | 6046 static Handle<Map> CopyDropDescriptors(Handle<Map> map); |
| 6047 MUST_USE_RESULT MaybeObject* CopyDropDescriptors(); | 6047 MUST_USE_RESULT MaybeObject* CopyDropDescriptors(); |
| 6048 static Handle<Map> CopyReplaceDescriptors(Handle<Map> map, | 6048 static Handle<Map> CopyReplaceDescriptors(Handle<Map> map, |
| 6049 Handle<DescriptorArray> descriptors, | 6049 Handle<DescriptorArray> descriptors, |
| 6050 TransitionFlag flag, | 6050 TransitionFlag flag, |
| 6051 Handle<Name> name); | 6051 Handle<Name> name); |
| (...skipping 4554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10606 } else { | 10606 } else { |
| 10607 value &= ~(1 << bit_position); | 10607 value &= ~(1 << bit_position); |
| 10608 } | 10608 } |
| 10609 return value; | 10609 return value; |
| 10610 } | 10610 } |
| 10611 }; | 10611 }; |
| 10612 | 10612 |
| 10613 } } // namespace v8::internal | 10613 } } // namespace v8::internal |
| 10614 | 10614 |
| 10615 #endif // V8_OBJECTS_H_ | 10615 #endif // V8_OBJECTS_H_ |
| OLD | NEW |