| 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 6173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6184 inline bool HasTransitionArray(); | 6184 inline bool HasTransitionArray(); |
| 6185 inline bool HasElementsTransition(); | 6185 inline bool HasElementsTransition(); |
| 6186 inline Map* elements_transition_map(); | 6186 inline Map* elements_transition_map(); |
| 6187 static Handle<TransitionArray> SetElementsTransitionMap( | 6187 static Handle<TransitionArray> SetElementsTransitionMap( |
| 6188 Handle<Map> map, Handle<Map> transitioned_map); | 6188 Handle<Map> map, Handle<Map> transitioned_map); |
| 6189 inline void SetTransition(int transition_index, Map* target); | 6189 inline void SetTransition(int transition_index, Map* target); |
| 6190 inline Map* GetTransition(int transition_index); | 6190 inline Map* GetTransition(int transition_index); |
| 6191 inline int SearchTransition(Name* name); | 6191 inline int SearchTransition(Name* name); |
| 6192 inline FixedArrayBase* GetInitialElements(); | 6192 inline FixedArrayBase* GetInitialElements(); |
| 6193 | 6193 |
| 6194 static Handle<TransitionArray> AddTransition(Handle<Map> map, | |
| 6195 Handle<Name> key, | |
| 6196 Handle<Map> target, | |
| 6197 SimpleTransitionFlag flag); | |
| 6198 DECL_ACCESSORS(transitions, TransitionArray) | 6194 DECL_ACCESSORS(transitions, TransitionArray) |
| 6199 inline void ClearTransitions(Heap* heap, | 6195 inline void ClearTransitions(Heap* heap, |
| 6200 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 6196 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| 6201 | 6197 |
| 6202 void DeprecateTransitionTree(); | 6198 void DeprecateTransitionTree(); |
| 6203 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); | 6199 void DeprecateTarget(Name* key, DescriptorArray* new_descriptors); |
| 6204 | 6200 |
| 6205 Map* FindRootMap(); | 6201 Map* FindRootMap(); |
| 6206 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); | 6202 Map* FindUpdatedMap(int verbatim, int length, DescriptorArray* descriptors); |
| 6207 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); | 6203 Map* FindLastMatchMap(int verbatim, int length, DescriptorArray* descriptors); |
| (...skipping 4811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11019 } else { | 11015 } else { |
| 11020 value &= ~(1 << bit_position); | 11016 value &= ~(1 << bit_position); |
| 11021 } | 11017 } |
| 11022 return value; | 11018 return value; |
| 11023 } | 11019 } |
| 11024 }; | 11020 }; |
| 11025 | 11021 |
| 11026 } } // namespace v8::internal | 11022 } } // namespace v8::internal |
| 11027 | 11023 |
| 11028 #endif // V8_OBJECTS_H_ | 11024 #endif // V8_OBJECTS_H_ |
| OLD | NEW |