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

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

Issue 23691002: Add OptimizedCodeEntry as a new heap object type. An optimized code entry represents an association… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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
« src/objects.h ('K') | « src/objects-visiting.h ('k') | no next file » | 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 case JS_WEAK_SET_TYPE: 113 case JS_WEAK_SET_TYPE:
114 return kVisitJSWeakSet; 114 return kVisitJSWeakSet;
115 115
116 case JS_REGEXP_TYPE: 116 case JS_REGEXP_TYPE:
117 return kVisitJSRegExp; 117 return kVisitJSRegExp;
118 118
119 case SHARED_FUNCTION_INFO_TYPE: 119 case SHARED_FUNCTION_INFO_TYPE:
120 return kVisitSharedFunctionInfo; 120 return kVisitSharedFunctionInfo;
121 121
122 case OPTIMIZED_CODE_ENTRY_TYPE:
123 return kVisitOptimizedCodeEntry;
124
122 case JS_PROXY_TYPE: 125 case JS_PROXY_TYPE:
123 return GetVisitorIdForSize(kVisitStruct, 126 return GetVisitorIdForSize(kVisitStruct,
124 kVisitStructGeneric, 127 kVisitStructGeneric,
125 JSProxy::kSize); 128 JSProxy::kSize);
126 129
127 case JS_FUNCTION_PROXY_TYPE: 130 case JS_FUNCTION_PROXY_TYPE:
128 return GetVisitorIdForSize(kVisitStruct, 131 return GetVisitorIdForSize(kVisitStruct,
129 kVisitStructGeneric, 132 kVisitStructGeneric,
130 JSFunctionProxy::kSize); 133 JSFunctionProxy::kSize);
131 134
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 kVisitStructGeneric, 196 kVisitStructGeneric,
194 instance_size); 197 instance_size);
195 198
196 default: 199 default:
197 UNREACHABLE(); 200 UNREACHABLE();
198 return kVisitorIdCount; 201 return kVisitorIdCount;
199 } 202 }
200 } 203 }
201 204
202 } } // namespace v8::internal 205 } } // namespace v8::internal
OLDNEW
« src/objects.h ('K') | « src/objects-visiting.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698