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

Side by Side Diff: src/type-info.h

Issue 6344005: Introduce extra IC state to record additional feedback from IC-s. (Closed)
Patch Set: Last fixes and ports to arm and x64 Created 9 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
« no previous file with comments | « src/stub-cache.cc ('k') | src/type-info.cc » ('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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 kString = 0x30, // 0110000 212 kString = 0x30, // 0110000
213 kNonPrimitive = 0x40, // 1000000 213 kNonPrimitive = 0x40, // 1000000
214 kUninitialized = 0x7f // 1111111 214 kUninitialized = 0x7f // 1111111
215 }; 215 };
216 explicit inline TypeInfo(Type t) : type_(t) { } 216 explicit inline TypeInfo(Type t) : type_(t) { }
217 217
218 Type type_; 218 Type type_;
219 }; 219 };
220 220
221 221
222 enum StringStubFeedback {
223 DEFAULT_STRING_STUB = 0,
224 STRING_INDEX_OUT_OF_BOUNDS = 1
225 };
226
227
222 // Forward declarations. 228 // Forward declarations.
223 class Assignment; 229 class Assignment;
224 class BinaryOperation; 230 class BinaryOperation;
225 class Call; 231 class Call;
226 class CompareOperation; 232 class CompareOperation;
227 class CompilationInfo; 233 class CompilationInfo;
228 class Property; 234 class Property;
229 class CaseClause; 235 class CaseClause;
230 236
231 class TypeFeedbackOracle BASE_EMBEDDED { 237 class TypeFeedbackOracle BASE_EMBEDDED {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 280
275 Handle<Context> global_context_; 281 Handle<Context> global_context_;
276 Handle<JSObject> map_; 282 Handle<JSObject> map_;
277 283
278 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle); 284 DISALLOW_COPY_AND_ASSIGN(TypeFeedbackOracle);
279 }; 285 };
280 286
281 } } // namespace v8::internal 287 } } // namespace v8::internal
282 288
283 #endif // V8_TYPE_INFO_H_ 289 #endif // V8_TYPE_INFO_H_
OLDNEW
« no previous file with comments | « src/stub-cache.cc ('k') | src/type-info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698