hotspot/src/share/vm/adlc/archDesc.cpp
changeset 16626 b58a6213631c
parent 13971 3c568f3dacca
child 17871 6669c8d6f6b3
equal deleted inserted replaced
16625:85b229ed3f41 16626:b58a6213631c
   830     char       *rc_name = toUpper(reg_class_name);
   830     char       *rc_name = toUpper(reg_class_name);
   831     const char *mask    = "_mask";
   831     const char *mask    = "_mask";
   832     int         length  = (int)strlen(rc_name) + (int)strlen(mask) + 5;
   832     int         length  = (int)strlen(rc_name) + (int)strlen(mask) + 5;
   833     char       *regMask = new char[length];
   833     char       *regMask = new char[length];
   834     sprintf(regMask,"%s%s()", rc_name, mask);
   834     sprintf(regMask,"%s%s()", rc_name, mask);
       
   835     delete[] rc_name;
   835     return regMask;
   836     return regMask;
   836   }
   837   }
   837 }
   838 }
   838 
   839 
   839 // Convert a register class name to its register mask.
   840 // Convert a register class name to its register mask.