summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2017-03-10 13:09:57 -0800
committerAlex Light <allight@google.com>2017-03-14 10:18:12 -0700
commit672a0b75c91af44749b1e946684e6a65a884d778 (patch)
tree7ae1c2fd5b9e2e7d155d9427848000d381e138d0 /compiler/optimizing/graph_visualizer.cc
parent01ea2aa05d6889b4ec08679606d3cdf36b302a8f (diff)
Refactor annotation code for obsolete methods.
Reading annotations on obsolete ArtMethod* objects would cause problems due to reading from the wrong dex file. We refactored that code so now it always uses the correct dex file when reading annotations. This was rarely a problem since obsolete ArtMethods are only ever exposed to the runtime itself which rarely reads annotations. We also add a test for redefining Object.class. This is one of the small number of classes where the runtime will read it's annotations off of obsolete methods. Bug: 31455788 Test: ./test/testrunner/testrunner.py --host -j40 Change-Id: I5f1c58464b89a7a9198a7b26b015b102a7dc9c2f
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions