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

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

Issue 139973004: A64: Synchronize with r15814. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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.h ('k') | src/objects-visiting-inl.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 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 case EXTERNAL_FLOAT_ARRAY_TYPE: 178 case EXTERNAL_FLOAT_ARRAY_TYPE:
176 case EXTERNAL_DOUBLE_ARRAY_TYPE: 179 case EXTERNAL_DOUBLE_ARRAY_TYPE:
177 return GetVisitorIdForSize(kVisitDataObject, 180 return GetVisitorIdForSize(kVisitDataObject,
178 kVisitDataObjectGeneric, 181 kVisitDataObjectGeneric,
179 instance_size); 182 instance_size);
180 183
181 #define MAKE_STRUCT_CASE(NAME, Name, name) \ 184 #define MAKE_STRUCT_CASE(NAME, Name, name) \
182 case NAME##_TYPE: 185 case NAME##_TYPE:
183 STRUCT_LIST(MAKE_STRUCT_CASE) 186 STRUCT_LIST(MAKE_STRUCT_CASE)
184 #undef MAKE_STRUCT_CASE 187 #undef MAKE_STRUCT_CASE
188 if (instance_type == ALLOCATION_SITE_TYPE) {
189 return kVisitAllocationSite;
190 }
191
185 return GetVisitorIdForSize(kVisitStruct, 192 return GetVisitorIdForSize(kVisitStruct,
186 kVisitStructGeneric, 193 kVisitStructGeneric,
187 instance_size); 194 instance_size);
188 195
189 default: 196 default:
190 UNREACHABLE(); 197 UNREACHABLE();
191 return kVisitorIdCount; 198 return kVisitorIdCount;
192 } 199 }
193 } 200 }
194 201
195 } } // namespace v8::internal 202 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « 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