src/share/vm/opto/type.hpp

changeset 8656
7ca49bca3c2a
parent 8646
88235cdca8d7
child 8856
ac27a9c85bea
child 8982
8f1acbb637e3
     1.1 --- a/src/share/vm/opto/type.hpp	Wed Nov 23 23:10:03 2016 -0800
     1.2 +++ b/src/share/vm/opto/type.hpp	Wed Nov 23 23:15:05 2016 -0800
     1.3 @@ -209,11 +209,11 @@
     1.4    static int cmp( const Type *const t1, const Type *const t2 );
     1.5    // Test for higher or equal in lattice
     1.6    // Variant that drops the speculative part of the types
     1.7 -  int higher_equal(const Type *t) const {
     1.8 +  bool higher_equal(const Type *t) const {
     1.9      return !cmp(meet(t),t->remove_speculative());
    1.10    }
    1.11    // Variant that keeps the speculative part of the types
    1.12 -  int higher_equal_speculative(const Type *t) const {
    1.13 +  bool higher_equal_speculative(const Type *t) const {
    1.14      return !cmp(meet_speculative(t),t);
    1.15    }
    1.16  

mercurial