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 5751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5762 Map* FindRootMap(); | 5762 Map* FindRootMap(); |
5763 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); | 5763 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); |
5764 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); | 5764 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); |
5765 | 5765 |
5766 int NumberOfFields(); | 5766 int NumberOfFields(); |
5767 | 5767 |
5768 bool InstancesNeedRewriting(Map* target, | 5768 bool InstancesNeedRewriting(Map* target, |
5769 int target_number_of_fields, | 5769 int target_number_of_fields, |
5770 int target_inobject, | 5770 int target_inobject, |
5771 int target_unused); | 5771 int target_unused); |
| 5772 static Handle<Map> GeneralizeAllFieldRepresentations( |
| 5773 Handle<Map> map, |
| 5774 Representation new_representation); |
5772 static Handle<Map> GeneralizeRepresentation( | 5775 static Handle<Map> GeneralizeRepresentation( |
5773 Handle<Map> map, | 5776 Handle<Map> map, |
5774 int modify_index, | 5777 int modify_index, |
5775 Representation new_representation, | 5778 Representation new_representation, |
5776 StoreMode store_mode); | 5779 StoreMode store_mode); |
5777 static Handle<Map> CopyGeneralizeAllRepresentations( | 5780 static Handle<Map> CopyGeneralizeAllRepresentations( |
5778 Handle<Map> map, | 5781 Handle<Map> map, |
5779 int modify_index, | 5782 int modify_index, |
5780 StoreMode store_mode, | 5783 StoreMode store_mode, |
5781 PropertyAttributes attributes, | 5784 PropertyAttributes attributes, |
(...skipping 4636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10418 } else { | 10421 } else { |
10419 value &= ~(1 << bit_position); | 10422 value &= ~(1 << bit_position); |
10420 } | 10423 } |
10421 return value; | 10424 return value; |
10422 } | 10425 } |
10423 }; | 10426 }; |
10424 | 10427 |
10425 } } // namespace v8::internal | 10428 } } // namespace v8::internal |
10426 | 10429 |
10427 #endif // V8_OBJECTS_H_ | 10430 #endif // V8_OBJECTS_H_ |
OLD | NEW |