src/hotspot/share/utilities/globalDefinitions.hpp
changeset 48826 c4d9d1b08e2e
parent 48147 1b57d99567ed
child 49011 a0e246b7403a
equal deleted inserted replaced
48825:ef8a98bc71f8 48826:c4d9d1b08e2e
   592   return (t == T_BOOLEAN || t == T_CHAR || t == T_BYTE || t == T_SHORT);
   592   return (t == T_BOOLEAN || t == T_CHAR || t == T_BYTE || t == T_SHORT);
   593 }
   593 }
   594 
   594 
   595 inline bool is_signed_subword_type(BasicType t) {
   595 inline bool is_signed_subword_type(BasicType t) {
   596   return (t == T_BYTE || t == T_SHORT);
   596   return (t == T_BYTE || t == T_SHORT);
       
   597 }
       
   598 
       
   599 inline bool is_reference_type(BasicType t) {
       
   600   return (t == T_OBJECT || t == T_ARRAY);
   597 }
   601 }
   598 
   602 
   599 // Convert a char from a classfile signature to a BasicType
   603 // Convert a char from a classfile signature to a BasicType
   600 inline BasicType char2type(char c) {
   604 inline BasicType char2type(char c) {
   601   switch( c ) {
   605   switch( c ) {