src/share/vm/opto/library_call.cpp

changeset 1330
94b6d06fd759
parent 1286
fc4be448891f
child 1331
1cef5ec3ca56
     1.1 --- a/src/share/vm/opto/library_call.cpp	Fri Jul 17 00:50:55 2009 -0700
     1.2 +++ b/src/share/vm/opto/library_call.cpp	Mon Jul 20 08:20:00 2009 -0700
     1.3 @@ -2074,7 +2074,7 @@
     1.4  
     1.5      // See if it is a narrow oop array.
     1.6      if (adr_type->isa_aryptr()) {
     1.7 -      if (adr_type->offset() >= objArrayOopDesc::base_offset_in_bytes(type)) {
     1.8 +      if (adr_type->offset() >= objArrayOopDesc::base_offset_in_bytes()) {
     1.9          const TypeOopPtr *elem_type = adr_type->is_aryptr()->elem()->isa_oopptr();
    1.10          if (elem_type != NULL) {
    1.11            sharpened_klass = elem_type->klass();

mercurial