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

Side by Side Diff: src/objects-visiting-inl.h

Issue 18173013: AllocationSite objects weakly linked for traversal (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed final nits Created 7 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/objects-visiting.cc ('k') | src/serialize.h » ('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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 &FixedBodyVisitor<StaticVisitor, 178 &FixedBodyVisitor<StaticVisitor,
179 Symbol::BodyDescriptor, 179 Symbol::BodyDescriptor,
180 void>::Visit); 180 void>::Visit);
181 181
182 table_.Register(kVisitFixedArray, &FixedArrayVisitor::Visit); 182 table_.Register(kVisitFixedArray, &FixedArrayVisitor::Visit);
183 183
184 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit); 184 table_.Register(kVisitFixedDoubleArray, &DataObjectVisitor::Visit);
185 185
186 table_.Register(kVisitNativeContext, &VisitNativeContext); 186 table_.Register(kVisitNativeContext, &VisitNativeContext);
187 187
188 table_.Register(kVisitAllocationSite,
189 &FixedBodyVisitor<StaticVisitor,
190 AllocationSite::BodyDescriptor,
191 void>::Visit);
192
188 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit); 193 table_.Register(kVisitByteArray, &DataObjectVisitor::Visit);
189 194
190 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit); 195 table_.Register(kVisitFreeSpace, &DataObjectVisitor::Visit);
191 196
192 table_.Register(kVisitSeqOneByteString, &DataObjectVisitor::Visit); 197 table_.Register(kVisitSeqOneByteString, &DataObjectVisitor::Visit);
193 198
194 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit); 199 table_.Register(kVisitSeqTwoByteString, &DataObjectVisitor::Visit);
195 200
196 table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitJSWeakMap); 201 table_.Register(kVisitJSWeakMap, &StaticVisitor::VisitJSWeakMap);
197 202
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 RelocIterator it(this, mode_mask); 878 RelocIterator it(this, mode_mask);
874 for (; !it.done(); it.next()) { 879 for (; !it.done(); it.next()) {
875 it.rinfo()->template Visit<StaticVisitor>(heap); 880 it.rinfo()->template Visit<StaticVisitor>(heap);
876 } 881 }
877 } 882 }
878 883
879 884
880 } } // namespace v8::internal 885 } } // namespace v8::internal
881 886
882 #endif // V8_OBJECTS_VISITING_INL_H_ 887 #endif // V8_OBJECTS_VISITING_INL_H_
OLDNEW
« no previous file with comments | « src/objects-visiting.cc ('k') | src/serialize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698