hotspot/src/share/vm/adlc/archDesc.cpp
changeset 22240 ec02eda6b9b6
parent 22234 da823d78ad65
child 22872 b6902ee5bc8d
equal deleted inserted replaced
22239:a7ea670834f4 22240:ec02eda6b9b6
    39   for (; str < end; ++str, ++upper) {
    39   for (; str < end; ++str, ++upper) {
    40     *upper = toUpper(*str);
    40     *upper = toUpper(*str);
    41   }
    41   }
    42   *upper = '\0';
    42   *upper = '\0';
    43   return result;
    43   return result;
    44 }
       
    45 
       
    46 // Utilities to characterize effect statements
       
    47 static bool is_def(int usedef) {
       
    48   switch(usedef) {
       
    49   case Component::DEF:
       
    50   case Component::USE_DEF: return true; break;
       
    51   }
       
    52   return false;
       
    53 }
       
    54 
       
    55 static bool is_use(int usedef) {
       
    56   switch(usedef) {
       
    57   case Component::USE:
       
    58   case Component::USE_DEF:
       
    59   case Component::USE_KILL: return true; break;
       
    60   }
       
    61   return false;
       
    62 }
       
    63 
       
    64 static bool is_kill(int usedef) {
       
    65   switch(usedef) {
       
    66   case Component::KILL:
       
    67   case Component::USE_KILL: return true; break;
       
    68   }
       
    69   return false;
       
    70 }
    44 }
    71 
    45 
    72 //---------------------------ChainList Methods-------------------------------
    46 //---------------------------ChainList Methods-------------------------------
    73 ChainList::ChainList() {
    47 ChainList::ChainList() {
    74 }
    48 }