src/share/vm/opto/chaitin.cpp

changeset 1063
7bb995fbd3c0
parent 1014
0fbdb4381b99
parent 1040
98cb887364d3
child 1108
fbc12e71c476
equal deleted inserted replaced
1015:ce2272390558 1063:7bb995fbd3c0
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 ) {

mercurial