comparison src/share/vm/opto/cfgnode.cpp @ 7421:ad5dd04754ee

8005031: Some cleanup in c2 to prepare for incremental inlining support Summary: collection of small changes to prepare for incremental inlining. Reviewed-by: twisti, kvn
author roland
date Tue, 18 Dec 2012 14:55:25 +0100
parents 8e47bac5643a
children d092d1b31229
comparison
equal deleted inserted replaced
7420:18d56ca3e901 7421:ad5dd04754ee
1564 // Check unreachable control paths 1564 // Check unreachable control paths
1565 Node* rc = r->in(j); 1565 Node* rc = r->in(j);
1566 Node* n = in(j); // Get the input 1566 Node* n = in(j); // Get the input
1567 if (rc == NULL || phase->type(rc) == Type::TOP) { 1567 if (rc == NULL || phase->type(rc) == Type::TOP) {
1568 if (n != top) { // Not already top? 1568 if (n != top) { // Not already top?
1569 PhaseIterGVN *igvn = phase->is_IterGVN();
1570 if (can_reshape && igvn != NULL) {
1571 igvn->_worklist.push(r);
1572 }
1569 set_req(j, top); // Nuke it down 1573 set_req(j, top); // Nuke it down
1570 progress = this; // Record progress 1574 progress = this; // Record progress
1571 } 1575 }
1572 } 1576 }
1573 } 1577 }