| 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 5963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5974 inline void ClearTransitions(Heap* heap, | 5974 inline void ClearTransitions(Heap* heap, |
| 5975 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 5975 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| 5976 | 5976 |
| 5977 void DeprecateTransitionTree(); | 5977 void DeprecateTransitionTree(); |
| 5978 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); | 5978 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); |
| 5979 | 5979 |
| 5980 Map* FindRootMap(); | 5980 Map* FindRootMap(); |
| 5981 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); | 5981 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); |
| 5982 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); | 5982 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); |
| 5983 | 5983 |
| 5984 inline int GetInObjectPropertyOffset(int index); |
| 5985 |
| 5984 int NumberOfFields(); | 5986 int NumberOfFields(); |
| 5985 | 5987 |
| 5986 bool InstancesNeedRewriting(Map* target, | 5988 bool InstancesNeedRewriting(Map* target, |
| 5987 int target_number_of_fields, | 5989 int target_number_of_fields, |
| 5988 int target_inobject, | 5990 int target_inobject, |
| 5989 int target_unused); | 5991 int target_unused); |
| 5990 static Handle<Map> GeneralizeAllFieldRepresentations( | 5992 static Handle<Map> GeneralizeAllFieldRepresentations( |
| 5991 Handle<Map> map, | 5993 Handle<Map> map, |
| 5992 Representation new_representation); | 5994 Representation new_representation); |
| 5993 static Handle<Map> GeneralizeRepresentation( | 5995 static Handle<Map> GeneralizeRepresentation( |
| (...skipping 4765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 10759 } else { | 10761 } else { |
| 10760 value &= ~(1 << bit_position); | 10762 value &= ~(1 << bit_position); |
| 10761 } | 10763 } |
| 10762 return value; | 10764 return value; |
| 10763 } | 10765 } |
| 10764 }; | 10766 }; |
| 10765 | 10767 |
| 10766 } } // namespace v8::internal | 10768 } } // namespace v8::internal |
| 10767 | 10769 |
| 10768 #endif // V8_OBJECTS_H_ | 10770 #endif // V8_OBJECTS_H_ |
| OLD | NEW |