--- a/hotspot/src/share/vm/opto/subnode.hpp Fri Aug 08 11:36:48 2014 -0700
+++ b/hotspot/src/share/vm/opto/subnode.hpp Mon Aug 11 13:01:37 2014 +0200
@@ -286,6 +286,10 @@
virtual uint hash() const;
virtual uint cmp( const Node &n ) const;
virtual uint size_of() const;
+
+ // Try to optimize signed integer comparison
+ Node* fold_cmpI(PhaseGVN* phase, SubNode* cmp, Node* cmp1, int cmp_op,
+ int cmp1_op, const TypeInt* cmp2_type);
public:
const BoolTest _test;
BoolNode( Node *cc, BoolTest::mask t): _test(t), Node(0,cc) {