diff options
author | Jeff Hao <jeffhao@google.com> | 2017-04-14 14:33:52 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2017-04-15 01:00:08 +0000 |
commit | 120504f52b5feedcb9ad7dedc54d7618a2f2c31b (patch) | |
tree | e03daac7c8b52a76edbf96a3c7d687c227111587 /compiler/optimizing/graph_visualizer.cc | |
parent | c569d4a08378aa8f832e89f25df0abde47158836 (diff) |
Add check that TypeIndex is valid in StringByTypeIdx.
StringByTypeIdx should fail gracefully if given a bad TypeIndex. This
adds a check that the TypeIndex is valid before getting its TypeId.
This fixes a regression that removed this check when it was refactored
in this CL: https://android-review.googlesource.com/#/c/243493/
Bug: 37287051
Test: mm -j31 test-art-host-gtest-dex_file_test
Change-Id: Ib68cb8135011f5f30335251583e181b089982754
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions