summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.h
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2017-08-09 13:20:34 -0700
committerIgor Murashkin <iam@google.com>2017-08-11 10:23:07 -0700
commit1e065a54845da12541572f4f149e6ab0dcd20180 (patch)
tree061d28c8905c7bc8ac50c8c86f4073034afb5ba2 /compiler/optimizing/code_generator.h
parentf573972a087b798f74bf5404e271355a2805e100 (diff)
optimizing: Refactor statistics to use OptimizingCompilerStats helper
Remove all copies of 'MaybeRecordStat', replacing them with a single OptimizingCompilerStats::MaybeRecordStat helper. Change-Id: I83b96b41439dccece3eee2e159b18c95336ea933
Diffstat (limited to 'compiler/optimizing/code_generator.h')
-rw-r--r--compiler/optimizing/code_generator.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/optimizing/code_generator.h b/compiler/optimizing/code_generator.h
index 51a0bae799..30c2b52242 100644
--- a/compiler/optimizing/code_generator.h
+++ b/compiler/optimizing/code_generator.h
@@ -254,8 +254,6 @@ class CodeGenerator : public DeletableArenaObject<kArenaAllocCodeGenerator> {
const CompilerOptions& GetCompilerOptions() const { return compiler_options_; }
- void MaybeRecordStat(MethodCompilationStat compilation_stat, size_t count = 1) const;
-
// Saves the register in the stack. Returns the size taken on stack.
virtual size_t SaveCoreRegister(size_t stack_index, uint32_t reg_id) = 0;
// Restores the register from the stack. Returns the size taken on stack.