Mercurial > hg > graal-compiler
comparison src/share/vm/opto/chaitin.cpp @ 628:7bb995fbd3c0
Merge
author | trims |
---|---|
date | Thu, 12 Mar 2009 18:16:36 -0700 |
parents | 0fbdb4381b99 98cb887364d3 |
children | fbc12e71c476 |
comparison
equal
deleted
inserted
replaced
580:ce2272390558 | 628: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 ) { |