--- old/src/share/vm/opto/subnode.hpp 2015-03-17 10:09:05.033838201 +0100 +++ new/src/share/vm/opto/subnode.hpp 2015-03-17 10:09:04.708455032 +0100 @@ -275,6 +275,8 @@ mask commute( ) const { return mask("032147658"[_test]-'0'); } mask negate( ) const { return mask(_test^4); } bool is_canonical( ) const { return (_test == BoolTest::ne || _test == BoolTest::lt || _test == BoolTest::le || _test == BoolTest::overflow); } + bool is_less( ) const { return _test == BoolTest::lt || _test == BoolTest::le; } + bool is_greater( ) const { return _test == BoolTest::gt || _test == BoolTest::ge; } void dump_on(outputStream *st) const; };