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

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: More cleanup. 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
Index: src/type-feedback-vector.h
diff --git a/src/type-feedback-vector.h b/src/type-feedback-vector.h
index 05dfff7dba302b9b54279bf931f3f2ab60ba889b..715a82c791f366d604f6acbd8e8c0c816b438356 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 compute_counts(int* with_type_info, int* generic);
Benedikt Meurer 2015/12/09 07:23:02 ComputeCounts
mvstanton 2015/12/09 07:37:32 Done.
inline bool is_empty() const;

Powered by Google App Engine
This is Rietveld 408576698