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

Side by Side Diff: src/objects-visiting.cc

Issue 19678023: ES6: Implement WeakSet (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Reitveld is acting up 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
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 JSSet::kSize); 103 JSSet::kSize);
104 104
105 case JS_MAP_TYPE: 105 case JS_MAP_TYPE:
106 return GetVisitorIdForSize(kVisitStruct, 106 return GetVisitorIdForSize(kVisitStruct,
107 kVisitStructGeneric, 107 kVisitStructGeneric,
108 JSMap::kSize); 108 JSMap::kSize);
109 109
110 case JS_WEAK_MAP_TYPE: 110 case JS_WEAK_MAP_TYPE:
111 return kVisitJSWeakMap; 111 return kVisitJSWeakMap;
112 112
113 case JS_WEAK_SET_TYPE:
114 return kVisitJSWeakSet;
115
113 case JS_REGEXP_TYPE: 116 case JS_REGEXP_TYPE:
114 return kVisitJSRegExp; 117 return kVisitJSRegExp;
115 118
116 case SHARED_FUNCTION_INFO_TYPE: 119 case SHARED_FUNCTION_INFO_TYPE:
117 return kVisitSharedFunctionInfo; 120 return kVisitSharedFunctionInfo;
118 121
119 case JS_PROXY_TYPE: 122 case JS_PROXY_TYPE:
120 return GetVisitorIdForSize(kVisitStruct, 123 return GetVisitorIdForSize(kVisitStruct,
121 kVisitStructGeneric, 124 kVisitStructGeneric,
122 JSProxy::kSize); 125 JSProxy::kSize);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 kVisitStructGeneric, 193 kVisitStructGeneric,
191 instance_size); 194 instance_size);
192 195
193 default: 196 default:
194 UNREACHABLE(); 197 UNREACHABLE();
195 return kVisitorIdCount; 198 return kVisitorIdCount;
196 } 199 }
197 } 200 }
198 201
199 } } // namespace v8::internal 202 } } // namespace v8::internal
OLDNEW
« src/objects-printer.cc ('K') | « src/objects-visiting.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698