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

Unified Diff: runtime/vm/isolate.h

Issue 1343383003: VM: Store edge counters in one per-function array. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: clean up comments, save space in IL Instruction class. Created 5 years, 3 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
Index: runtime/vm/isolate.h
diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h
index 0afc840e6a34e8c2b52512e7833a2ad668e7e107..a9bbc0653bceceadb693a79c13379ddc6f3d50f9 100644
--- a/runtime/vm/isolate.h
+++ b/runtime/vm/isolate.h
@@ -582,15 +582,6 @@ class Isolate : public BaseIsolate {
deopt_context_ = value;
}
- int32_t edge_counter_increment_size() const {
- return edge_counter_increment_size_;
- }
- void set_edge_counter_increment_size(int32_t size) {
- ASSERT(edge_counter_increment_size_ == -1);
- ASSERT(size >= 0);
- edge_counter_increment_size_ = size;
- }
-
void UpdateLastAllocationProfileAccumulatorResetTimestamp() {
last_allocationprofile_accumulator_reset_timestamp_ =
OS::GetCurrentTimeMillis();
@@ -862,7 +853,6 @@ class Isolate : public BaseIsolate {
Dart_GcEpilogueCallback gc_epilogue_callback_;
intptr_t defer_finalization_count_;
DeoptContext* deopt_context_;
- int32_t edge_counter_increment_size_;
CompilerStats* compiler_stats_;

Powered by Google App Engine
This is Rietveld 408576698