diff -r aba91a731143 -r 1d7922586cf6 src/share/vm/c1/c1_Instruction.cpp --- a/src/share/vm/c1/c1_Instruction.cpp Mon Jul 23 13:04:59 2012 -0700 +++ b/src/share/vm/c1/c1_Instruction.cpp Tue Jul 24 10:51:00 2012 -0700 @@ -161,6 +161,12 @@ return NULL; } +ciType* Constant::exact_type() const { + if (type()->is_object()) { + return type()->as_ObjectType()->exact_type(); + } + return NULL; +} ciType* LoadIndexed::exact_type() const { ciType* array_type = array()->exact_type();