Mercurial > hg > truffle
comparison src/share/vm/opto/chaitin.cpp @ 614:3db67f76d308
Merge
author | acorn |
---|---|
date | Thu, 05 Mar 2009 22:07:29 -0500 |
parents | 98cb887364d3 |
children | 7bb995fbd3c0 |
comparison
equal
deleted
inserted
replaced
613:5caef2219893 | 614:3db67f76d308 |
---|---|
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 ) { |