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 03:29:08 +0000 (20:29 -0700)
commit8b3f9b246d5bdbf67faeb2b872b75b8d72777bc0
tree6cceffd4ee15b9c67f67083851769980cc8988a7
parentc4d445a40bf00ab497b5e4d43a6b43eaafb5fa50
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).

Change-Id: I55ca8cc8cfc042210edf748aab10da4c6e345980
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]