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

Unified Diff: src/isolate.h

Issue 2684233004: [heap] Remove dead counters and move regexp code counter to Isolate (Closed)
Patch Set: Fix compilation 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/heap/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.h
diff --git a/src/isolate.h b/src/isolate.h
index 2acfd6287c261c58e083cb0caa00dc91a233a312..ffbda4363725e1fbb75d29e869f2cab203e60a78 100644
--- a/src/isolate.h
+++ b/src/isolate.h
@@ -912,6 +912,11 @@ class Isolate {
RegExpStack* regexp_stack() { return regexp_stack_; }
+ size_t total_regexp_code_generated() { return total_regexp_code_generated_; }
+ void IncreaseTotalRegexpCodeGenerated(int size) {
+ total_regexp_code_generated_ += size;
+ }
+
List<int>* regexp_indices() { return &regexp_indices_; }
unibrow::Mapping<unibrow::Ecma262Canonicalize>*
@@ -1484,6 +1489,8 @@ class Isolate {
bool allow_atomics_wait_;
+ size_t total_regexp_code_generated_;
+
friend class ExecutionAccess;
friend class HandleScopeImplementer;
friend class HeapTester;
« no previous file with comments | « src/heap/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698