OSDN Git Service

ART: cleanup exit_block_ in graph if exit block is removed
authorSerguei Katkov <serguei.i.katkov@intel.com>
Wed, 2 Mar 2016 10:25:36 +0000 (16:25 +0600)
committerSerguei Katkov <serguei.i.katkov@intel.com>
Thu, 3 Mar 2016 10:54:31 +0000 (16:54 +0600)
commit7ba9966b76bbf818513018fa1da72c89330fe384
treeadb082660168b9c50319d861cba664374d55d5a5
parente4cec517faf1c74d6895e0e5b512a6e2f83a0e06
ART: cleanup exit_block_ in graph if exit block is removed

If we remove the exit block from the graph (for example method
contains infinite loop) we should also clean the field exit_block_
in graph. At least inliner expects it.

Change-Id: Icda668da2233cdd6cd673635a1949f5ed34cf270
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
compiler/optimizing/nodes.cc
test/579-inline-infinite/expected.txt [new file with mode: 0644]
test/579-inline-infinite/info.txt [new file with mode: 0644]
test/579-inline-infinite/src/Main.java [new file with mode: 0644]