OSDN Git Service

Recognize getClass() in RTP.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 19 Dec 2016 09:18:07 +0000 (09:18 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 10 Jan 2017 14:11:32 +0000 (14:11 +0000)
commitc52b26d4fb5b1ca91f34ce4b535b764853e538f6
tree9b734310200bb70cb42696082a55db70bed51b3c
parentb28c8749a52f4f3252fbfe8bfb5f9d7c7f980adf
Recognize getClass() in RTP.

Also always keep around the resolved field
in related HInstructions to avoid resolving it again
and again.

Test: test-art-host, 631-checker-get-class

Change-Id: I3bc6be11f3eb175c635e746006f39865947e0669
compiler/optimizing/gvn_test.cc
compiler/optimizing/inliner.cc
compiler/optimizing/instruction_builder.cc
compiler/optimizing/instruction_simplifier.cc
compiler/optimizing/licm_test.cc
compiler/optimizing/nodes.h
compiler/optimizing/reference_type_propagation.cc
compiler/optimizing/register_allocator_test.cc
test/631-checker-get-class/expected.txt [new file with mode: 0644]
test/631-checker-get-class/info.txt [new file with mode: 0644]
test/631-checker-get-class/src/Main.java [new file with mode: 0644]