diff options
| author | 2015-08-20 10:06:31 +0000 | |
|---|---|---|
| committer | 2015-08-20 10:06:31 +0000 | |
| commit | bffabfce093e26bffb9e820a8f6b45474d28787a (patch) | |
| tree | 49b3183cd1d25b6a5cfb31e0d16678deb023c1e8 /compiler/optimizing/dead_code_elimination.cc | |
| parent | 4d786026efaac41acf8278d1c87d842f7ce06fde (diff) | |
| parent | e418dda75998e0186f7580c2c54705767c3c8f1f (diff) | |
Merge "Be more flexible on the code unit size when inlining."
Diffstat (limited to 'compiler/optimizing/dead_code_elimination.cc')
| -rw-r--r-- | compiler/optimizing/dead_code_elimination.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/dead_code_elimination.cc b/compiler/optimizing/dead_code_elimination.cc index 78470db834..50cbf5ca77 100644 --- a/compiler/optimizing/dead_code_elimination.cc +++ b/compiler/optimizing/dead_code_elimination.cc @@ -133,6 +133,7 @@ void HDeadCodeElimination::RemoveDeadInstructions() { && !inst->IsSuspendCheck() // If we added an explicit barrier then we should keep it. && !inst->IsMemoryBarrier() + && !inst->IsParameterValue() && !inst->HasUses()) { block->RemoveInstruction(inst); MaybeRecordStat(MethodCompilationStat::kRemovedDeadInstruction); |