--- old/src/hotspot/share/opto/type.hpp 2020-04-02 14:11:58.000000000 +0300 +++ new/src/hotspot/share/opto/type.hpp 2020-04-02 14:11:58.000000000 +0300 @@ -481,6 +481,8 @@ virtual const Type *xmeet( const Type *t ) const; virtual const Type *xdual() const; // Compute dual right now. // Convenience common pre-built types. + static const TypeF *MAX; + static const TypeF *MIN; static const TypeF *ZERO; // positive zero only static const TypeF *ONE; static const TypeF *POS_INF; @@ -510,6 +512,8 @@ virtual const Type *xmeet( const Type *t ) const; virtual const Type *xdual() const; // Compute dual right now. // Convenience common pre-built types. + static const TypeD *MAX; + static const TypeD *MIN; static const TypeD *ZERO; // positive zero only static const TypeD *ONE; static const TypeD *POS_INF; @@ -553,6 +557,8 @@ virtual const Type *narrow( const Type *t ) const; // Do not kill _widen bits. // Convenience common pre-built types. + static const TypeInt *MAX; + static const TypeInt *MIN; static const TypeInt *MINUS_1; static const TypeInt *ZERO; static const TypeInt *ONE; @@ -618,6 +624,8 @@ virtual const Type *widen( const Type *t, const Type* limit_type ) const; virtual const Type *narrow( const Type *t ) const; // Convenience common pre-built types. + static const TypeLong *MAX; + static const TypeLong *MIN; static const TypeLong *MINUS_1; static const TypeLong *ZERO; static const TypeLong *ONE;