OSDN Git Service

ART: Stop creating a fallthrough block for Goto
authorDavid Brazdil <dbrazdil@google.com>
Wed, 24 Jun 2015 13:23:56 +0000 (14:23 +0100)
committerDavid Brazdil <dbrazdil@google.com>
Wed, 24 Jun 2015 13:25:48 +0000 (14:25 +0100)
commitfe659462e7d58bb2585b1bd029f9e08fd9dd32ae
tree987b9dd7f8278766d2b6a4a65397f2852f1d7ef4
parent582195dfcee32586b71b0ed00a973cfc7d7b8b57
ART: Stop creating a fallthrough block for Goto

Optimizing's Builder used to create a basic block after a Goto under
the assumption that control flow can fall through.

Bug: 19084197
Change-Id: Id85f31df98a4177466750d3cd0bc8bb74782ca2d
compiler/optimizing/builder.cc
compiler/optimizing/nodes.cc
test/517-checker-builder-fallthrough/expected.txt [new file with mode: 0644]
test/517-checker-builder-fallthrough/info.txt [new file with mode: 0644]
test/517-checker-builder-fallthrough/smali/TestCase.smali [new file with mode: 0644]
test/517-checker-builder-fallthrough/src/Main.java [new file with mode: 0644]