hotspot/src/share/vm/opto/superword.cpp
changeset 360 21d113ecbf6a
parent 352 6d8e1aa5834e
child 767 64fb1fd7186d
child 670 ddf3e9583f2f
equal deleted inserted replaced
357:f4edb0d9f109 360:21d113ecbf6a
  1422 }
  1422 }
  1423 
  1423 
  1424 //---------------------------container_type---------------------------
  1424 //---------------------------container_type---------------------------
  1425 // Smallest type containing range of values
  1425 // Smallest type containing range of values
  1426 const Type* SuperWord::container_type(const Type* t) {
  1426 const Type* SuperWord::container_type(const Type* t) {
       
  1427   if (t->isa_narrowoop()) t = t->is_narrowoop()->make_oopptr();
  1427   if (t->isa_aryptr()) {
  1428   if (t->isa_aryptr()) {
  1428     t = t->is_aryptr()->elem();
  1429     t = t->is_aryptr()->elem();
  1429   }
  1430   }
  1430   if (t->basic_type() == T_INT) {
  1431   if (t->basic_type() == T_INT) {
  1431     if (t->higher_equal(TypeInt::BOOL))  return TypeInt::BOOL;
  1432     if (t->higher_equal(TypeInt::BOOL))  return TypeInt::BOOL;