diff options
author | 2015-01-28 10:20:37 +0000 | |
---|---|---|
committer | 2015-02-04 09:11:40 +0000 | |
commit | 829280cc90b7a84db42864589b4bafb4c94a79d9 (patch) | |
tree | 8c6f0235011e046bc711ebf795678f6d1a2fedda /compiler/optimizing/code_generator.cc | |
parent | 69d69ea40fe64ff2e70daffc365a2fffe5964fcc (diff) |
Finally implement Location::kNoOutputOverlap.
The [i, i + 1) interval scheme we chose for representing
lifetime positions is not optimal for doing this optimization.
It however doesn't prevent recognizing a non-split interval
during the TryAllocateFreeReg phase, and try to re-use
its inputs' registers.
Change-Id: I80a2823b0048d3310becfc5f5fb7b1230dfd8201
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
-rw-r--r-- | compiler/optimizing/code_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/code_generator.cc b/compiler/optimizing/code_generator.cc index dc2446df61..fd4e391470 100644 --- a/compiler/optimizing/code_generator.cc +++ b/compiler/optimizing/code_generator.cc @@ -290,7 +290,7 @@ void CodeGenerator::AllocateRegistersLocally(HInstruction* instruction) const { result_location = locations->InAt(0); break; } - locations->SetOut(result_location); + locations->UpdateOut(result_location); } } |