hotspot/src/share/vm/opto/superword.cpp
changeset 360 21d113ecbf6a
parent 352 6d8e1aa5834e
child 767 64fb1fd7186d
child 670 ddf3e9583f2f
--- a/hotspot/src/share/vm/opto/superword.cpp	Fri Apr 11 09:56:35 2008 -0400
+++ b/hotspot/src/share/vm/opto/superword.cpp	Sun Apr 13 17:43:42 2008 -0400
@@ -1424,6 +1424,7 @@
 //---------------------------container_type---------------------------
 // Smallest type containing range of values
 const Type* SuperWord::container_type(const Type* t) {
+  if (t->isa_narrowoop()) t = t->is_narrowoop()->make_oopptr();
   if (t->isa_aryptr()) {
     t = t->is_aryptr()->elem();
   }