summaryrefslogtreecommitdiff
path: root/compiler/optimizing/inliner.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/inliner.cc')
-rw-r--r--compiler/optimizing/inliner.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc
index 17957d8b0f..0e4f9ef0ed 100644
--- a/compiler/optimizing/inliner.cc
+++ b/compiler/optimizing/inliner.cc
@@ -812,11 +812,6 @@ void HInliner::AddCHAGuard(HInstruction* invoke_instruction,
HBasicBlock* bb_cursor) {
HShouldDeoptimizeFlag* deopt_flag = new (graph_->GetAllocator())
HShouldDeoptimizeFlag(graph_->GetAllocator(), dex_pc);
- // ShouldDeoptimizeFlag is used to perform a deoptimization because of a CHA
- // invalidation or for debugging reasons. It is OK to just check for non-zero
- // value here instead of the specific CHA value. When a debugging deopt is
- // requested we deoptimize before we execute any code and hence we shouldn't
- // see that case here.
HInstruction* compare = new (graph_->GetAllocator()) HNotEqual(
deopt_flag, graph_->GetIntConstant(0, dex_pc));
HInstruction* deopt = new (graph_->GetAllocator()) HDeoptimize(