Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/transitions.h

Issue 10802039: Don't record elements transition slots since it will contain a map. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed nit. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/mark-compact.cc ('k') | src/transitions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « src/mark-compact.cc ('k') | src/transitions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698