commit | a18f5aeaecf9088f1ba1c43e7577dc149f85673f | [log] [tgz] |
---|---|---|
author | Vladimir Marko <vmarko@google.com> | Fri Dec 13 12:53:39 2019 +0000 |
committer | Vladimir Marko <vmarko@google.com> | Wed Jan 08 14:50:06 2020 +0000 |
tree | 88a98d98edab2c83821a8df17768788245c039a1 | |
parent | 7ee34a1eeba20c1b438f7bcad75adba65dd2a840 [diff] |
Fix StringBuilder append assumptions. Do not rely on use ordering, it can be different because of SimplifyReturnThis(); just use HBackwardInstructionIterator. Instead of checking that we find a StringBuilder.toString(), check that it is the invoke we're trying to simplify. Add regression test 699-checker-string-append2. Test: testrunner.py --host --jvm -t 699-checker-string-append2 Bug: 19575890 Bug: 146014745 Change-Id: I7b16f376c16ba5a4107e9718e0acf17d82280f54