| 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 6006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6017 inline void ClearTransitions(Heap* heap, | 6017 inline void ClearTransitions(Heap* heap, |
| 6018 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 6018 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| 6019 | 6019 |
| 6020 void DeprecateTransitionTree(); | 6020 void DeprecateTransitionTree(); |
| 6021 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); | 6021 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); |
| 6022 | 6022 |
| 6023 Map* FindRootMap(); | 6023 Map* FindRootMap(); |
| 6024 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); | 6024 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); |
| 6025 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); | 6025 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); |
| 6026 | 6026 |
| 6027 inline int GetInObjectPropertyOffset(int index); |
| 6028 |
| 6027 int NumberOfFields(); | 6029 int NumberOfFields(); |
| 6028 | 6030 |
| 6029 bool InstancesNeedRewriting(Map* target, | 6031 bool InstancesNeedRewriting(Map* target, |
| 6030 int target_number_of_fields, | 6032 int target_number_of_fields, |
| 6031 int target_inobject, | 6033 int target_inobject, |
| 6032 int target_unused); | 6034 int target_unused); |
| 6033 static Handle<Map> GeneralizeAllFieldRepresentations( | 6035 static Handle<Map> GeneralizeAllFieldRepresentations( |
| 6034 Handle<Map> map, | 6036 Handle<Map> map, |
| 6035 Representation new_representation); | 6037 Representation new_representation); |
| 6036 static Handle<Map> GeneralizeRepresentation( | 6038 static Handle<Map> GeneralizeRepresentation( |
| (...skipping 4765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10802 } else { | 10804 } else { |
| 10803 value &= ~(1 << bit_position); | 10805 value &= ~(1 << bit_position); |
| 10804 } | 10806 } |
| 10805 return value; | 10807 return value; |
| 10806 } | 10808 } |
| 10807 }; | 10809 }; |
| 10808 | 10810 |
| 10809 } } // namespace v8::internal | 10811 } } // namespace v8::internal |
| 10810 | 10812 |
| 10811 #endif // V8_OBJECTS_H_ | 10813 #endif // V8_OBJECTS_H_ |
| OLD | NEW |