summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2021-09-13 11:46:24 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2021-09-13 12:30:30 +0000
commit8dea9c4f6495c7c5477cb368b45a7cb77a87dbf6 (patch)
treeff624d0b680b29a2421673868d39a0ec9b193bbb /compiler/optimizing/code_generator.cc
parentc07f48875c60d88205283c979898ce31df2a2026 (diff)
Update code to fix two unused variable warnings.
Test: m Change-Id: I817bc3e5405d2b089841429ae22b2004305dac50
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r--compiler/optimizing/code_generator.cc2
1 files changed, 0 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();