| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 inline Map* GetTarget(int transition_number); | 54 inline Map* GetTarget(int transition_number); |
| 55 inline void SetTarget(int transition_number, Map* target); | 55 inline void SetTarget(int transition_number, Map* target); |
| 56 inline Object** GetTargetSlot(int transition_number); | 56 inline Object** GetTargetSlot(int transition_number); |
| 57 | 57 |
| 58 inline PropertyDetails GetTargetDetails(int transition_number); | 58 inline PropertyDetails GetTargetDetails(int transition_number); |
| 59 | 59 |
| 60 inline Map* elements_transition(); | 60 inline Map* elements_transition(); |
| 61 inline void set_elements_transition( | 61 inline void set_elements_transition( |
| 62 Map* target, | 62 Map* target, |
| 63 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 63 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| 64 inline Object** GetElementsTransitionSlot(); | |
| 65 inline bool HasElementsTransition(); | 64 inline bool HasElementsTransition(); |
| 66 inline void ClearElementsTransition(); | 65 inline void ClearElementsTransition(); |
| 67 | 66 |
| 68 inline FixedArray* GetPrototypeTransitions(); | 67 inline FixedArray* GetPrototypeTransitions(); |
| 69 inline void SetPrototypeTransitions( | 68 inline void SetPrototypeTransitions( |
| 70 FixedArray* prototype_transitions, | 69 FixedArray* prototype_transitions, |
| 71 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); | 70 WriteBarrierMode mode = UPDATE_WRITE_BARRIER); |
| 72 inline Object** GetPrototypeTransitionsSlot(); | 71 inline Object** GetPrototypeTransitionsSlot(); |
| 73 inline bool HasPrototypeTransitions(); | 72 inline bool HasPrototypeTransitions(); |
| 74 inline HeapObject* UncheckedPrototypeTransitions(); | 73 inline HeapObject* UncheckedPrototypeTransitions(); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 Map* target, | 159 Map* target, |
| 161 const WhitenessWitness&); | 160 const WhitenessWitness&); |
| 162 | 161 |
| 163 DISALLOW_IMPLICIT_CONSTRUCTORS(TransitionArray); | 162 DISALLOW_IMPLICIT_CONSTRUCTORS(TransitionArray); |
| 164 }; | 163 }; |
| 165 | 164 |
| 166 | 165 |
| 167 } } // namespace v8::internal | 166 } } // namespace v8::internal |
| 168 | 167 |
| 169 #endif // V8_TRANSITIONS_H_ | 168 #endif // V8_TRANSITIONS_H_ |
| OLD | NEW |