hotspot/src/share/vm/opto/library_call.cpp
changeset 38703 d3906fec707e
parent 38685 e34308190947
child 39419 cc993a4ab581
equal deleted inserted replaced
38702:e83778acc88a 38703:d3906fec707e
  3738       return always_branch;
  3738       return always_branch;
  3739     }
  3739     }
  3740   }
  3740   }
  3741   // Now test the correct condition.
  3741   // Now test the correct condition.
  3742   jint  nval = (obj_array
  3742   jint  nval = (obj_array
  3743                 ? ((jint)Klass::_lh_array_tag_type_value
  3743                 ? (jint)(Klass::_lh_array_tag_type_value
  3744                    <<    Klass::_lh_array_tag_shift)
  3744                    <<    Klass::_lh_array_tag_shift)
  3745                 : Klass::_lh_neutral_value);
  3745                 : Klass::_lh_neutral_value);
  3746   Node* cmp = _gvn.transform(new CmpINode(layout_val, intcon(nval)));
  3746   Node* cmp = _gvn.transform(new CmpINode(layout_val, intcon(nval)));
  3747   BoolTest::mask btest = BoolTest::lt;  // correct for testing is_[obj]array
  3747   BoolTest::mask btest = BoolTest::lt;  // correct for testing is_[obj]array
  3748   // invert the test if we are looking for a non-array
  3748   // invert the test if we are looking for a non-array