changeset 47358:1625d0e9c891 mvt

Back out cast
author dsimms
date Thu, 12 Oct 2017 17:21:55 +0200
parents b89c0aec61ea
children 899b11f0831b
files src/hotspot/share/opto/library_call.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/opto/library_call.cpp	Thu Oct 12 16:46:12 2017 +0200
+++ b/src/hotspot/share/opto/library_call.cpp	Thu Oct 12 17:21:55 2017 +0200
@@ -3896,7 +3896,7 @@
   }
   // Now test the correct condition.
   jint  nval = (obj_array
-                ? (jint)((juint)Klass::_lh_array_tag_type_value
+                ? (jint)(Klass::_lh_array_tag_type_value
                    <<    Klass::_lh_array_tag_shift)
                 : Klass::_lh_neutral_value);
   Node* cmp = _gvn.transform(new CmpINode(layout_val, intcon(nval)));