src/share/vm/utilities/globalDefinitions.hpp

changeset 9852
70aa912cebe5
parent 9703
2fdf635bcf28
parent 9840
9efdbe72ed1d
child 9931
fd44df5e3bc3
     1.1 --- a/src/share/vm/utilities/globalDefinitions.hpp	Wed Apr 15 11:14:58 2020 +0800
     1.2 +++ b/src/share/vm/utilities/globalDefinitions.hpp	Wed Apr 15 11:49:55 2020 +0800
     1.3 @@ -653,6 +653,10 @@
     1.4    return (t == T_BYTE || t == T_SHORT);
     1.5  }
     1.6  
     1.7 +inline bool is_reference_type(BasicType t) {
     1.8 +  return (t == T_OBJECT || t == T_ARRAY);
     1.9 +}
    1.10 +
    1.11  // Convert a char from a classfile signature to a BasicType
    1.12  inline BasicType char2type(char c) {
    1.13    switch( c ) {

mercurial