OSDN Git Service

Fix GVN to handle normal paths leading to catch entry.
authorVladimir Marko <vmarko@google.com>
Thu, 17 Jul 2014 19:50:07 +0000 (20:50 +0100)
committerVladimir Marko <vmarko@google.com>
Fri, 18 Jul 2014 09:06:42 +0000 (10:06 +0100)
commitacb4eb12108d5890bf722bed91f2e80708af0c75
treec1ecaeb08a6a0507be3318ad160c0af74552dbab
parenta2f85ca0dd0ddab384f395ab270d844affb8fdac
Fix GVN to handle normal paths leading to catch entry.

When the catch block is empty, the catch entry is actually
the normal path block after the try block. Fix the LVN
merge for catch entries that didn't expect it during GVN.

Bug: 16360024

(cherry-picked from 11ca61259be6ec8e03eaff1e98905232728b3d45)

Change-Id: Ifc771edfec702ab2f0ff50bf7f8e69c846d13a46
compiler/dex/global_value_numbering_test.cc
compiler/dex/local_value_numbering.cc