OSDN Git Service

Fix case where block has no predecessor for StringChange.
authorJeff Hao <jeffhao@google.com>
Wed, 17 Jun 2015 23:04:26 +0000 (16:04 -0700)
committerJeff Hao <jeffhao@google.com>
Fri, 19 Jun 2015 17:17:44 +0000 (10:17 -0700)
commit3e91a44bc9063f7f69b5415e3cf162991f73283f
treec90ca32de5e94c5f3b0407828f2bf9e3b19062b6
parente7738e8bf567153fde593404d380a5c79ba6bfa8
Fix case where block has no predecessor for StringChange.

Removes part that checks for throwing half of instruction. It's no
longer necessary. Also adds regression test.

Bug: 21902684
Change-Id: Ic600165e6b3719de3d83a73b8a1fa64473668fc8
compiler/dex/mir_optimization.cc
test/800-smali/expected.txt
test/800-smali/smali/b_21902684.smali [new file with mode: 0644]
test/800-smali/src/Main.java