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 5971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5982 inline void ClearTransitions(Heap* heap, | 5982 inline void ClearTransitions(Heap* heap, |
5983 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 5983 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
5984 | 5984 |
5985 void DeprecateTransitionTree(); | 5985 void DeprecateTransitionTree(); |
5986 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); | 5986 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); |
5987 | 5987 |
5988 Map* FindRootMap(); | 5988 Map* FindRootMap(); |
5989 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); | 5989 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); |
5990 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); | 5990 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); |
5991 | 5991 |
| 5992 inline int GetInObjectPropertyOffset(int index); |
| 5993 |
5992 int NumberOfFields(); | 5994 int NumberOfFields(); |
5993 | 5995 |
5994 bool InstancesNeedRewriting(Map* target, | 5996 bool InstancesNeedRewriting(Map* target, |
5995 int target_number_of_fields, | 5997 int target_number_of_fields, |
5996 int target_inobject, | 5998 int target_inobject, |
5997 int target_unused); | 5999 int target_unused); |
5998 static Handle<Map> GeneralizeAllFieldRepresentations( | 6000 static Handle<Map> GeneralizeAllFieldRepresentations( |
5999 Handle<Map> map, | 6001 Handle<Map> map, |
6000 Representation new_representation); | 6002 Representation new_representation); |
6001 static Handle<Map> GeneralizeRepresentation( | 6003 static Handle<Map> GeneralizeRepresentation( |
(...skipping 4765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10767 } else { | 10769 } else { |
10768 value &= ~(1 << bit_position); | 10770 value &= ~(1 << bit_position); |
10769 } | 10771 } |
10770 return value; | 10772 return value; |
10771 } | 10773 } |
10772 }; | 10774 }; |
10773 | 10775 |
10774 } } // namespace v8::internal | 10776 } } // namespace v8::internal |
10775 | 10777 |
10776 #endif // V8_OBJECTS_H_ | 10778 #endif // V8_OBJECTS_H_ |
OLD | NEW |