OSDN Git Service

ART: Fix loop information after dead code elimination
authorDavid Brazdil <dbrazdil@google.com>
Wed, 29 Apr 2015 16:16:07 +0000 (17:16 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Wed, 29 Apr 2015 17:38:20 +0000 (18:38 +0100)
commit395086f0a9e0658a2d33eeade7121db55c1f5dc8
tree14480bd2541b52133829559ba1996eb686541b37
parentdd17bc3806e800d3b82d5cb27e85ccc1c4e2ee1d
ART: Fix loop information after dead code elimination

Compilation failed when only some blocks of a loop were removed during
dead code elimination.

Bug: 20680703
(cherry picked from commit 69a2804c3bb48cf4fd00a66080f613a4fd96c422)

Change-Id: If9988381236e4d8d8c3b508dfce1376b27c20d75
compiler/optimizing/dead_code_elimination.cc
compiler/optimizing/nodes.cc
compiler/optimizing/nodes.h
test/480-checker-dead-blocks/src/Main.java