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

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

Issue 9117034: New class for Date objects: caches individual date components. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Add constant for index of first barrier-free slot. Created 8 years, 11 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-printer.cc ('k') | src/runtime.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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 return GetVisitorIdForSize(kVisitDataObject, 127 return GetVisitorIdForSize(kVisitDataObject,
128 kVisitDataObjectGeneric, 128 kVisitDataObjectGeneric,
129 Foreign::kSize); 129 Foreign::kSize);
130 130
131 case FILLER_TYPE: 131 case FILLER_TYPE:
132 return kVisitDataObjectGeneric; 132 return kVisitDataObjectGeneric;
133 133
134 case JS_OBJECT_TYPE: 134 case JS_OBJECT_TYPE:
135 case JS_CONTEXT_EXTENSION_OBJECT_TYPE: 135 case JS_CONTEXT_EXTENSION_OBJECT_TYPE:
136 case JS_VALUE_TYPE: 136 case JS_VALUE_TYPE:
137 case JS_DATE_TYPE:
137 case JS_ARRAY_TYPE: 138 case JS_ARRAY_TYPE:
138 case JS_GLOBAL_PROXY_TYPE: 139 case JS_GLOBAL_PROXY_TYPE:
139 case JS_GLOBAL_OBJECT_TYPE: 140 case JS_GLOBAL_OBJECT_TYPE:
140 case JS_BUILTINS_OBJECT_TYPE: 141 case JS_BUILTINS_OBJECT_TYPE:
141 case JS_MESSAGE_OBJECT_TYPE: 142 case JS_MESSAGE_OBJECT_TYPE:
142 return GetVisitorIdForSize(kVisitJSObject, 143 return GetVisitorIdForSize(kVisitJSObject,
143 kVisitJSObjectGeneric, 144 kVisitJSObjectGeneric,
144 instance_size); 145 instance_size);
145 146
146 case JS_FUNCTION_TYPE: 147 case JS_FUNCTION_TYPE:
(...skipping 21 matching lines...) Expand all
168 kVisitStructGeneric, 169 kVisitStructGeneric,
169 instance_size); 170 instance_size);
170 171
171 default: 172 default:
172 UNREACHABLE(); 173 UNREACHABLE();
173 return kVisitorIdCount; 174 return kVisitorIdCount;
174 } 175 }
175 } 176 }
176 177
177 } } // namespace v8::internal 178 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698