summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2016-04-18 15:37:01 +0100
committerVladimir Marko <vmarko@google.com>2016-04-19 15:06:21 +0100
commit3563c44464ca55b2106373b35110e5ecaae38abf (patch)
tree37b72db63107d946837d3035588d24787838598a /test/ProfileTestMultiDex/Second.java
parent78d7c8826d5cca583202085dfde382fb6fcc1629 (diff)
Fix inlining loops in OSR mode.
When compiling a method in OSR mode and the method does not contain a loop (arguably, a very odd case) but we inline another method with a loop and then the final DCE re-runs the loop identification, the inlined loop would previously be marked as irreducible. However, the SSA liveness analysis expects irreducible loop to have extra loop Phis which were already eliminated from the loop before the inner graph was inlined to the outer graph, so we would fail a DCHECK(). We fix this by not marking inlined loops as irreducible when compiling in OSR mode. Bug: 28210356 (cherry picked from commit fd66c50d64c38e40bafde83b4872e27bbff7546d) Change-Id: I149273b766d1c713c571baad6033c5f70e6dd960
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions