hotspot/src/share/vm/c1/c1_Instruction.cpp
changeset 6453 970dc585ab63
parent 5707 6c66849ed24e
child 6745 a34ef8968a84
equal deleted inserted replaced
6452:cc624b341ab2 6453:970dc585ab63
   738   for (Instruction* n = this; n != NULL; n = n->next()) n->values_do(f);
   738   for (Instruction* n = this; n != NULL; n = n->next()) n->values_do(f);
   739 }
   739 }
   740 
   740 
   741 
   741 
   742 #ifndef PRODUCT
   742 #ifndef PRODUCT
   743   #define TRACE_PHI(code) if (PrintPhiFunctions) { code; }
   743    #define TRACE_PHI(code) if (PrintPhiFunctions) { code; }
   744 #else
   744 #else
   745   #define TRACE_PHI(coce)
   745    #define TRACE_PHI(coce)
   746 #endif
   746 #endif
   747 
   747 
   748 
   748 
   749 bool BlockBegin::try_merge(ValueStack* new_state) {
   749 bool BlockBegin::try_merge(ValueStack* new_state) {
   750   TRACE_PHI(tty->print_cr("********** try_merge for block B%d", block_id()));
   750   TRACE_PHI(tty->print_cr("********** try_merge for block B%d", block_id()));
  1009 // Implementation of Throw
  1009 // Implementation of Throw
  1010 
  1010 
  1011 void Throw::state_values_do(ValueVisitor* f) {
  1011 void Throw::state_values_do(ValueVisitor* f) {
  1012   BlockEnd::state_values_do(f);
  1012   BlockEnd::state_values_do(f);
  1013 }
  1013 }
       
  1014 
       
  1015 void ProfileInvoke::state_values_do(ValueVisitor* f) {
       
  1016   if (state() != NULL) state()->values_do(f);
       
  1017 }