Index: runtime/vm/pages.cc |
=================================================================== |
--- runtime/vm/pages.cc (revision 45749) |
+++ runtime/vm/pages.cc (working copy) |
@@ -397,9 +397,6 @@ |
// A successful allocation should increase usage_. |
ASSERT(usage_before.used_in_words < usage_.used_in_words); |
#endif |
- if (FLAG_compiler_stats && (type == HeapPage::kExecutable)) { |
- CompilerStats::code_allocated += size; |
- } |
} else { |
#ifdef DEBUG |
// A failed allocation should not change used_in_words. |