src/hotspot/share/opto/compile.cpp
changeset 53063 b04860fd2e2c
parent 52925 9c18c9d839d3
child 53220 c14b7b6a9b2f
--- a/src/hotspot/share/opto/compile.cpp	Tue Dec 18 12:59:39 2018 +0530
+++ b/src/hotspot/share/opto/compile.cpp	Tue Dec 18 19:13:54 2018 +0530
@@ -3469,8 +3469,7 @@
   }
   case Op_CmpUL: {
     if (!Matcher::has_match_rule(Op_CmpUL)) {
-      // We don't support unsigned long comparisons. Set 'max_idx_expr'
-      // to max_julong if < 0 to make the signed comparison fail.
+      // No support for unsigned long comparisons
       ConINode* sign_pos = new ConINode(TypeInt::make(BitsPerLong - 1));
       Node* sign_bit_mask = new RShiftLNode(n->in(1), sign_pos);
       Node* orl = new OrLNode(n->in(1), sign_bit_mask);