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

Unified Diff: src/type-feedback-vector.h

Issue 1507903004: Type Feedback Vector: Calculate profiler counts on the fly. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Comment response. Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/runtime-profiler.cc ('k') | src/type-feedback-vector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/type-feedback-vector.h
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h
index 05dfff7dba302b9b54279bf931f3f2ab60ba889b..80267a4d54a9c2266909247d9847242f373ea338 100644
--- a/src/type-feedback-vector.h
+++ b/src/type-feedback-vector.h
@@ -182,14 +182,9 @@ class TypeFeedbackVector : public FixedArray {
static inline TypeFeedbackVector* cast(Object* obj);
static const int kMetadataIndex = 0;
- static const int kWithTypesIndex = 1;
- static const int kGenericCountIndex = 2;
- static const int kReservedIndexCount = 3;
-
- inline int ic_with_type_info_count();
- inline void change_ic_with_type_info_count(int delta);
- inline int ic_generic_count();
- inline void change_ic_generic_count(int delta);
+ static const int kReservedIndexCount = 1;
+
+ inline void ComputeCounts(int* with_type_info, int* generic);
inline bool is_empty() const;
« no previous file with comments | « src/runtime-profiler.cc ('k') | src/type-feedback-vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698