comparison src/share/vm/opto/multnode.cpp @ 14383:5ec7dace41a6

8027422: assert(_gvn.type(obj)->higher_equal(tjp)) failed: cast_up is no longer needed Summary: type methods shouldn't always operate on speculative part Reviewed-by: kvn, twisti
author roland
date Fri, 24 Jan 2014 09:31:53 +0100
parents de6a9e811145
children cd5d10655495
comparison
equal deleted inserted replaced
14272:757ec609d8d5 14383:5ec7dace41a6
92 t = t->is_tuple()->field_at(_con); 92 t = t->is_tuple()->field_at(_con);
93 Node* n = in(0); 93 Node* n = in(0);
94 if ((_con == TypeFunc::Parms) && 94 if ((_con == TypeFunc::Parms) &&
95 n->is_CallStaticJava() && n->as_CallStaticJava()->is_boxing_method()) { 95 n->is_CallStaticJava() && n->as_CallStaticJava()->is_boxing_method()) {
96 // The result of autoboxing is always non-null on normal path. 96 // The result of autoboxing is always non-null on normal path.
97 t = t->join(TypePtr::NOTNULL); 97 t = t->join_speculative(TypePtr::NOTNULL);
98 } 98 }
99 return t; 99 return t;
100 } 100 }
101 101
102 const Type *ProjNode::bottom_type() const { 102 const Type *ProjNode::bottom_type() const {