| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 Name* GetSortedKey(int transition_number) { | 66 Name* GetSortedKey(int transition_number) { |
| 67 return GetKey(transition_number); | 67 return GetKey(transition_number); |
| 68 } | 68 } |
| 69 | 69 |
| 70 inline Map* GetTarget(int transition_number); | 70 inline Map* GetTarget(int transition_number); |
| 71 inline void SetTarget(int transition_number, Map* target); | 71 inline void SetTarget(int transition_number, Map* target); |
| 72 | 72 |
| 73 inline PropertyDetails GetTargetDetails(int transition_number); | 73 inline PropertyDetails GetTargetDetails(int transition_number); |
| 74 | 74 |
| 75 inline bool HasElementsTransition(); | 75 inline bool HasElementsTransition(); |
| 76 inline bool HasElementCallbacksTransition(); |
| 76 | 77 |
| 77 inline Object* back_pointer_storage(); | 78 inline Object* back_pointer_storage(); |
| 78 inline void set_back_pointer_storage( | 79 inline void set_back_pointer_storage( |
| 79 Object* back_pointer, | 80 Object* back_pointer, |
| 80 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 81 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| 81 | 82 |
| 82 inline FixedArray* GetPrototypeTransitions(); | 83 inline FixedArray* GetPrototypeTransitions(); |
| 83 inline void SetPrototypeTransitions( | 84 inline void SetPrototypeTransitions( |
| 84 FixedArray* prototype_transitions, | 85 FixedArray* prototype_transitions, |
| 85 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 86 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 Name* key, | 204 Name* key, |
| 204 Map* target); | 205 Map* target); |
| 205 | 206 |
| 206 DISALLOW_IMPLICIT_CONSTRUCTORS(TransitionArray); | 207 DISALLOW_IMPLICIT_CONSTRUCTORS(TransitionArray); |
| 207 }; | 208 }; |
| 208 | 209 |
| 209 | 210 |
| 210 } } // namespace v8::internal | 211 } } // namespace v8::internal |
| 211 | 212 |
| 212 #endif // V8_TRANSITIONS_H_ | 213 #endif // V8_TRANSITIONS_H_ |
| OLD | NEW |