summaryrefslogtreecommitdiff
path: root/compiler/optimizing/ssa_liveness_analysis.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-04-29 17:23:33 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-04-29 17:23:33 +0000
commit401b8ea4c56678cfa0b2d3bdae5cb9e208711f88 (patch)
tree0c639e611ffb5a1931617f8e36cc74fa8ec735e0 /compiler/optimizing/ssa_liveness_analysis.cc
parentc1849c58ce2a35c37f19e75038e034df47815ecd (diff)
parented51747ae96a0c7fac452e95a1607200a5494b28 (diff)
am ed51747a: Merge "Add synthesize uses at back edge."
* commit 'ed51747ae96a0c7fac452e95a1607200a5494b28': Add synthesize uses at back edge.
Diffstat (limited to 'compiler/optimizing/ssa_liveness_analysis.cc')
-rw-r--r--compiler/optimizing/ssa_liveness_analysis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/ssa_liveness_analysis.cc b/compiler/optimizing/ssa_liveness_analysis.cc
index b674f746b6..0bbcb308f3 100644
--- a/compiler/optimizing/ssa_liveness_analysis.cc
+++ b/compiler/optimizing/ssa_liveness_analysis.cc
@@ -341,7 +341,7 @@ int LiveInterval::FindFirstRegisterHint(size_t* free_until) const {
size_t end = GetEnd();
while (use != nullptr && use->GetPosition() <= end) {
size_t use_position = use->GetPosition();
- if (use_position >= start) {
+ if (use_position >= start && !use->IsSynthesized()) {
HInstruction* user = use->GetUser();
size_t input_index = use->GetInputIndex();
if (user->IsPhi()) {