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

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

Issue 7607031: Update gc branch to bleeding_edge revision 8862. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/gc
Patch Set: Fix bug in weak-map merge Created 9 years, 4 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/parser.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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
66 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString); 66 table_.Register(kVisitSeqAsciiString, &VisitSeqAsciiString);
67 67
68 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString); 68 table_.Register(kVisitSeqTwoByteString, &VisitSeqTwoByteString);
69 69
70 table_.Register(kVisitJSFunction, 70 table_.Register(kVisitJSFunction,
71 &JSObjectVisitor:: 71 &JSObjectVisitor::
72 template VisitSpecialized<JSFunction::kSize>); 72 template VisitSpecialized<JSFunction::kSize>);
73 73
74 table_.Register(kVisitFreeSpace, &VisitFreeSpace); 74 table_.Register(kVisitFreeSpace, &VisitFreeSpace);
75 75
76 table_.Register(kVisitJSWeakMap, &JSObjectVisitor::Visit);
77
76 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit); 78 table_.Register(kVisitJSRegExp, &JSObjectVisitor::Visit);
77 79
78 table_.template RegisterSpecializations<DataObjectVisitor, 80 table_.template RegisterSpecializations<DataObjectVisitor,
79 kVisitDataObject, 81 kVisitDataObject,
80 kVisitDataObjectGeneric>(); 82 kVisitDataObjectGeneric>();
81 83
82 table_.template RegisterSpecializations<JSObjectVisitor, 84 table_.template RegisterSpecializations<JSObjectVisitor,
83 kVisitJSObject, 85 kVisitJSObject,
84 kVisitJSObjectGeneric>(); 86 kVisitJSObjectGeneric>();
85 table_.template RegisterSpecializations<StructVisitor, 87 table_.template RegisterSpecializations<StructVisitor,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 135
134 for (; !it.done(); it.next()) { 136 for (; !it.done(); it.next()) {
135 it.rinfo()->template Visit<StaticVisitor>(heap); 137 it.rinfo()->template Visit<StaticVisitor>(heap);
136 } 138 }
137 } 139 }
138 140
139 141
140 } } // namespace v8::internal 142 } } // namespace v8::internal
141 143
142 #endif // V8_OBJECTS_VISITING_INL_H_ 144 #endif // V8_OBJECTS_VISITING_INL_H_
OLDNEW
« no previous file with comments | « src/objects-visiting.cc ('k') | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698