Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/library_call.cpp @ 23333:e876a461e646
fix for new clang warnings
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Mar 2016 10:42:47 +0100 |
parents | dd9cc155639c |
children | f13e777eb255 |
comparison
equal
deleted
inserted
replaced
23332:d5690e838afa | 23333:e876a461e646 |
---|---|
3756 return always_branch; | 3756 return always_branch; |
3757 } | 3757 } |
3758 } | 3758 } |
3759 // Now test the correct condition. | 3759 // Now test the correct condition. |
3760 jint nval = (obj_array | 3760 jint nval = (obj_array |
3761 ? ((jint)Klass::_lh_array_tag_type_value | 3761 ? (jint)((unsigned)Klass::_lh_array_tag_type_value |
3762 << Klass::_lh_array_tag_shift) | 3762 << Klass::_lh_array_tag_shift) |
3763 : Klass::_lh_neutral_value); | 3763 : Klass::_lh_neutral_value); |
3764 Node* cmp = _gvn.transform(new(C) CmpINode(layout_val, intcon(nval))); | 3764 Node* cmp = _gvn.transform(new(C) CmpINode(layout_val, intcon(nval))); |
3765 BoolTest::mask btest = BoolTest::lt; // correct for testing is_[obj]array | 3765 BoolTest::mask btest = BoolTest::lt; // correct for testing is_[obj]array |
3766 // invert the test if we are looking for a non-array | 3766 // invert the test if we are looking for a non-array |