summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/live_ranges_test.cc
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-09-30 22:40:23 +0100
committerNicolas Geoffray <ngeoffray@google.com>2014-10-06 16:36:49 +0100
commit9ae0daa60c568f98ef0020e52366856ff314615f (patch)
treee74b9ee49af0b1b202444fdaaca4b39620d962dd /compiler/optimizing/live_ranges_test.cc
parent2d4e89e97812aeca16ff058d7286f29b7549c43a (diff)
downloadart-9ae0daa60c568f98ef0020e52366856ff314615f.tar.gz
art-9ae0daa60c568f98ef0020e52366856ff314615f.tar.bz2
art-9ae0daa60c568f98ef0020e52366856ff314615f.zip
Add support for inputs dying at entry of instructions.
- Start using it in places where it makes sense. - Also improve suspend check on arm to use subs directly. Change-Id: I09ac0589f5ccb9b850ee757c76dcbcf35ee8cd01
Diffstat (limited to 'compiler/optimizing/live_ranges_test.cc')
-rw-r--r--compiler/optimizing/live_ranges_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/live_ranges_test.cc b/compiler/optimizing/live_ranges_test.cc
index 03f8625265..8be47461b2 100644
--- a/compiler/optimizing/live_ranges_test.cc
+++ b/compiler/optimizing/live_ranges_test.cc
@@ -268,7 +268,7 @@ TEST(LiveRangesTest, Loop1) {
range = interval->GetFirstRange();
// Instruction is consumed by the if.
ASSERT_EQ(14u, range->GetStart());
- ASSERT_EQ(17u, range->GetEnd());
+ ASSERT_EQ(16u, range->GetEnd());
ASSERT_TRUE(range->GetNext() == nullptr);
}