diff options
Diffstat (limited to 'compiler/optimizing')
| -rw-r--r-- | compiler/optimizing/inliner.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc index 247f82574a..41a15dccaa 100644 --- a/compiler/optimizing/inliner.cc +++ b/compiler/optimizing/inliner.cc @@ -732,6 +732,7 @@ bool HInliner::TryInlinePolymorphicCallToSameTarget(HInvoke* invoke_instruction, if (return_replacement != nullptr) { invoke_instruction->ReplaceWith(return_replacement); } + invoke_instruction->GetBlock()->RemoveInstruction(invoke_instruction); } // Run type propagation to get the guard typed. |