hotspot/src/share/vm/opto/type.hpp
changeset 40880 74222f8c095e
parent 40871 82848b0654f8
child 40881 a4955213b573
--- a/hotspot/src/share/vm/opto/type.hpp	Tue Aug 23 22:31:48 2016 +0000
+++ b/hotspot/src/share/vm/opto/type.hpp	Thu Aug 25 12:51:10 2016 +0300
@@ -210,11 +210,11 @@
   static int cmp( const Type *const t1, const Type *const t2 );
   // Test for higher or equal in lattice
   // Variant that drops the speculative part of the types
-  int higher_equal(const Type *t) const {
+  bool higher_equal(const Type *t) const {
     return !cmp(meet(t),t->remove_speculative());
   }
   // Variant that keeps the speculative part of the types
-  int higher_equal_speculative(const Type *t) const {
+  bool higher_equal_speculative(const Type *t) const {
     return !cmp(meet_speculative(t),t);
   }