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

Unified Diff: src/feedback-vector.h

Issue 2686063002: [debugger] add precise mode for code coverage. (Closed)
Patch Set: fix flag Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug-coverage.cc ('k') | src/feedback-vector.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/feedback-vector.h
diff --git a/src/feedback-vector.h b/src/feedback-vector.h
index 163ef55c8f65915fc2eab9164f588953aede0741..4c25a90ce21bca358a1181d80908c3eb63c80728 100644
--- a/src/feedback-vector.h
+++ b/src/feedback-vector.h
@@ -281,6 +281,7 @@ class FeedbackVector : public FixedArray {
inline FeedbackMetadata* metadata() const;
inline SharedFunctionInfo* shared_function_info() const;
inline int invocation_count() const;
+ inline void clear_invocation_count();
// Conversion from a slot to an integer index to the underlying array.
static int GetIndex(FeedbackSlot slot) {
@@ -352,6 +353,8 @@ class FeedbackVector : public FixedArray {
private:
void ClearSlotsImpl(SharedFunctionInfo* shared, bool force_clear);
+ static void AddToCodeCoverageList(Isolate* isolate,
+ Handle<FeedbackVector> vector);
DISALLOW_IMPLICIT_CONSTRUCTORS(FeedbackVector);
};
« no previous file with comments | « src/debug/debug-coverage.cc ('k') | src/feedback-vector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698