hotspot/src/share/vm/opto/chaitin.cpp
changeset 2131 98f9cef66a34
parent 2030 39d55e4534b4
child 2154 72a9b7284ccf
equal deleted inserted replaced
2130:f935aa562118 2131:98f9cef66a34
  1244       // Fold reg back into normal space
  1244       // Fold reg back into normal space
  1245       reg = OptoReg::add(reg,-chunk);
  1245       reg = OptoReg::add(reg,-chunk);
  1246 
  1246 
  1247       // If the live range is not bound, then we actually had some choices
  1247       // If the live range is not bound, then we actually had some choices
  1248       // to make.  In this case, the mask has more bits in it than the colors
  1248       // to make.  In this case, the mask has more bits in it than the colors
  1249       // choosen.  Restrict the mask to just what was picked.
  1249       // chosen.  Restrict the mask to just what was picked.
  1250       if( lrg->num_regs() == 1 ) { // Size 1 live range
  1250       if( lrg->num_regs() == 1 ) { // Size 1 live range
  1251         lrg->Clear();           // Clear the mask
  1251         lrg->Clear();           // Clear the mask
  1252         lrg->Insert(reg);       // Set regmask to match selected reg
  1252         lrg->Insert(reg);       // Set regmask to match selected reg
  1253         lrg->set_mask_size(1);
  1253         lrg->set_mask_size(1);
  1254       } else if( !lrg->_fat_proj ) {
  1254       } else if( !lrg->_fat_proj ) {