summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/optimizing/code_generator.cc2
-rw-r--r--imgdiag/imgdiag.cc1
2 files changed, 1 insertions, 2 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc
index ca35d99f24..a164b15a04 100644
--- a/compiler/optimizing/code_generator.cc
+++ b/compiler/optimizing/code_generator.cc
@@ -1240,7 +1240,6 @@ void CodeGenerator::RecordPcInfo(HInstruction* instruction,
}
uint32_t outer_dex_pc = dex_pc;
- uint32_t outer_environment_size = 0u;
uint32_t inlining_depth = 0;
HEnvironment* const environment = instruction->GetEnvironment();
if (environment != nullptr) {
@@ -1250,7 +1249,6 @@ void CodeGenerator::RecordPcInfo(HInstruction* instruction,
++inlining_depth;
}
outer_dex_pc = outer_environment->GetDexPc();
- outer_environment_size = outer_environment->Size();
}
HLoopInformation* info = instruction->GetBlock()->GetLoopInformation();
diff --git a/imgdiag/imgdiag.cc b/imgdiag/imgdiag.cc
index e8f4d05f10..a27d923e9a 100644
--- a/imgdiag/imgdiag.cc
+++ b/imgdiag/imgdiag.cc
@@ -1266,6 +1266,7 @@ class ImgDiagDumper {
total_dirty_pages += num_dirty_pages;
}
}
+ os << "Found " << total_dirty_pages << " dirty pages in total ";
// Commit the mappings and files.
image_proc_maps_ = std::move(image_proc_maps);