src/share/vm/opto/coalesce.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8021898 Cdiff src/share/vm/opto/coalesce.cpp

src/share/vm/opto/coalesce.cpp

Print this page

        

*** 328,340 **** if(m->is_Mach() && m->as_Mach()->is_Con() && m->as_Mach()->rematerialize()) { copy = m->clone(); // Insert the copy in the basic block, just before us b->_nodes.insert(l++, copy); ! if(_phc.clone_projs(b, l, m, copy, _phc._lrg_map)) { ! l++; ! } } else { const RegMask *rm = C->matcher()->idealreg2spillmask[m->ideal_reg()]; copy = new (C) MachSpillCopyNode(m, *rm, *rm); // Insert the copy in the basic block, just before us b->_nodes.insert(l++, copy); --- 328,338 ---- if(m->is_Mach() && m->as_Mach()->is_Con() && m->as_Mach()->rematerialize()) { copy = m->clone(); // Insert the copy in the basic block, just before us b->_nodes.insert(l++, copy); ! l += _phc.clone_projs(b, l, m, copy, _phc._lrg_map); } else { const RegMask *rm = C->matcher()->idealreg2spillmask[m->ideal_reg()]; copy = new (C) MachSpillCopyNode(m, *rm, *rm); // Insert the copy in the basic block, just before us b->_nodes.insert(l++, copy);
src/share/vm/opto/coalesce.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File