OSDN Git Service

Ignore NullConstants when computing the type for Phis.
authorCalin Juravle <calin@google.com>
Wed, 11 Nov 2015 14:59:46 +0000 (14:59 +0000)
committerCalin Juravle <calin@google.com>
Wed, 11 Nov 2015 16:54:24 +0000 (16:54 +0000)
commit617bd9255bbdb9890e9d80462d293b94ba41c1f2
tree4cf231f3d2ec7afecf25d58f6bd74ee7b2f3ae03
parent54af9bd45a482376b5fe8d4ac291afb5bc950065
Ignore NullConstants when computing the type for Phis.

NullConstants are always typed as Object and they widen the
type of Phis unnecessarily.

Change-Id: I2b29e67617a22120642cb23d2bc6c1ff75b4e7c2
compiler/optimizing/reference_type_propagation.cc
test/450-checker-types/src/Main.java