summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAart Bik <ajcbik@google.com>2016-03-24 15:38:56 -0700
committerAart Bik <ajcbik@google.com>2016-03-25 10:22:44 -0700
commiteda3140656dafa03dc7fd4b3f90246a8522f0c1b (patch)
treeab6edb78257e50da05e62b994510fe59c63d8afb /compiler/optimizing/graph_visualizer.cc
parent760efa3d01257250972ea47a00c0edb01d608c3a (diff)
Avoid removing new-instance instruction twice.
Includes a fail-before/pass-after regression test. Rationale: In some corner cases, one new instance reached more than one java.lang.String.<init> method call. As a result, the new instance instruction appeared multiple times in the vector uninitialized_strings_. A second removal crashes the compiler. This change list avoid the crash by simply skipping instructions that are already removed. BUG=27847265 Change-Id: I7f8a4f84ea3c184e1529ec3e90bd6749c83c445b
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions