OSDN Git Service

Avoid constructing types with errors.
authorAart Bik <ajcbik@google.com>
Wed, 6 Apr 2016 18:22:12 +0000 (11:22 -0700)
committerAart Bik <ajcbik@google.com>
Tue, 19 Apr 2016 23:22:51 +0000 (16:22 -0700)
commit7de2439d357710aaf8bfe02b8cf9c196d3c77705
tree0d0fd927ef934dda265b94e4df4ee7d0e46f8212
parentd19dc4688b5b93f149d45435deb0a67217464e37
Avoid constructing types with errors.

BUG=27626735

Rationale:
Do not construct classes with a link error. Without this,
the error type thought it was Object (mirror's method
IsObjectClass() returns true if there is no superclass).

(cherry picked from commit 8b3f9b246d5bdbf67faeb2b872b75b8d72777bc0)
(also contains follow-up commit 31244b4cde9156632a08103a8bf1cbff4cbae3cc)

Change-Id: I4443779dda47c320115975c1c71b22e118bd8252
build/Android.gtest.mk
compiler/optimizing/inliner.cc
compiler/optimizing/nodes.cc
compiler/optimizing/reference_type_propagation.cc
compiler/optimizing/reference_type_propagation.h
compiler/optimizing/reference_type_propagation_test.cc [new file with mode: 0644]