summaryrefslogtreecommitdiff
path: root/compiler/optimizing
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-11-03 13:57:14 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-11-03 13:57:14 +0000
commit6cc88a7e5ad695ce4f2651009231fd8f025d1a99 (patch)
tree879454e1af78d42973d52b59b79b6d7f0b89efec /compiler/optimizing
parent9a41fb1616df7e966e58cabc2abc1b5d90c9e14f (diff)
parent2810f92d099ac7442f661abbfa73734835a58e25 (diff)
Merge "Disable kNoOutputOverlap optimization."
Diffstat (limited to 'compiler/optimizing')
-rw-r--r--compiler/optimizing/register_allocator.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/optimizing/register_allocator.cc b/compiler/optimizing/register_allocator.cc
index 497e9b9c94..df63530939 100644
--- a/compiler/optimizing/register_allocator.cc
+++ b/compiler/optimizing/register_allocator.cc
@@ -253,9 +253,6 @@ void RegisterAllocator::ProcessInstruction(HInstruction* instruction) {
current->SetFrom(position + 1);
current->SetRegister(output.reg());
BlockRegister(output, position, position + 1);
- } else if (!locations->OutputOverlapsWithInputs()) {
- // Shift the interval's start by one to not interfere with the inputs.
- current->SetFrom(position + 1);
} else if (output.IsStackSlot() || output.IsDoubleStackSlot()) {
current->SetSpillSlot(output.GetStackIndex());
}