diff options
author | 2016-08-12 06:33:15 +0000 | |
---|---|---|
committer | 2016-08-12 06:33:15 +0000 | |
commit | 6f61ee5623a676ce983ccfa1aba9b2ae1237e163 (patch) | |
tree | d4367d5707b5c5fa918387da6ea1844e063073d2 /compiler/optimizing/ssa_liveness_analysis.h | |
parent | 465ed699e810868fe5bb39730e6d149a4734372d (diff) |
Revert "Iterative move coalescing for gc regalloc"
There are lifetime issues with allocators and coloring
iterations that got flagged by valgrind.
This reverts commit 465ed699e810868fe5bb39730e6d149a4734372d.
Change-Id: I9e08172321af61d109c116a4f0742fa809e8094b
Test: m test-art-host
Diffstat (limited to 'compiler/optimizing/ssa_liveness_analysis.h')
-rw-r--r-- | compiler/optimizing/ssa_liveness_analysis.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/optimizing/ssa_liveness_analysis.h b/compiler/optimizing/ssa_liveness_analysis.h index 92788fe6b8..346753b775 100644 --- a/compiler/optimizing/ssa_liveness_analysis.h +++ b/compiler/optimizing/ssa_liveness_analysis.h @@ -514,9 +514,7 @@ class LiveInterval : public ArenaObject<kArenaAllocSsaLiveness> { // Whether the interval requires a register rather than a stack location. // If needed for performance, this could be cached. - bool RequiresRegister() const { - return !HasRegister() && FirstRegisterUse() != kNoLifetime; - } + bool RequiresRegister() const { return FirstRegisterUse() != kNoLifetime; } size_t FirstUseAfter(size_t position) const { if (is_temp_) { |