diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2014-12-02 11:51:19 +0000 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2014-12-02 12:24:07 +0000 |
commit | f537012ceb6cba8a78b36a5065beb9588451a250 (patch) | |
tree | 08851014d687b0e08accfdc2f1553a89789b4fd4 /compiler/optimizing/find_loops_test.cc | |
parent | 10a573a1f8708dbe2bcb7835341cbd8e9606af63 (diff) | |
download | art-f537012ceb6cba8a78b36a5065beb9588451a250.tar.gz art-f537012ceb6cba8a78b36a5065beb9588451a250.tar.bz2 art-f537012ceb6cba8a78b36a5065beb9588451a250.zip |
Treat SSA transformation special, as we may have to bailout.
We forgot to bailout when we found a non-natural loop (on which
our optimizations don't work).
Change-Id: I11976b5af4c98f4f29267a74c74d34b5ad81e20c
Diffstat (limited to 'compiler/optimizing/find_loops_test.cc')
-rw-r--r-- | compiler/optimizing/find_loops_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/find_loops_test.cc b/compiler/optimizing/find_loops_test.cc index c36b1436d3..82fe03caa2 100644 --- a/compiler/optimizing/find_loops_test.cc +++ b/compiler/optimizing/find_loops_test.cc @@ -32,7 +32,7 @@ static HGraph* TestCode(const uint16_t* data, ArenaAllocator* allocator) { const DexFile::CodeItem* item = reinterpret_cast<const DexFile::CodeItem*>(data); HGraph* graph = builder.BuildGraph(*item); graph->BuildDominatorTree(); - graph->FindNaturalLoops(); + graph->AnalyzeNaturalLoops(); return graph; } |