src/share/vm/opto/compile.cpp

changeset 5635
650868c062a9
parent 5539
adb9a7d94cb5
child 5658
edb5ab0f3fe5
child 5694
7944aba7ba41
equal deleted inserted replaced
5629:e1fbb86b47e4 5635:650868c062a9
2256 } 2256 }
2257 Block* block = _cfg->get_block(i); 2257 Block* block = _cfg->get_block(i);
2258 if (block->is_connector() && !Verbose) { 2258 if (block->is_connector() && !Verbose) {
2259 continue; 2259 continue;
2260 } 2260 }
2261 n = block->_nodes[0]; 2261 n = block->head();
2262 if (pcs && n->_idx < pc_limit) { 2262 if (pcs && n->_idx < pc_limit) {
2263 tty->print("%3.3x ", pcs[n->_idx]); 2263 tty->print("%3.3x ", pcs[n->_idx]);
2264 } else { 2264 } else {
2265 tty->print(" "); 2265 tty->print(" ");
2266 } 2266 }
2271 tty->print_cr(" # Block is sole successor of call"); 2271 tty->print_cr(" # Block is sole successor of call");
2272 } 2272 }
2273 2273
2274 // For all instructions 2274 // For all instructions
2275 Node *delay = NULL; 2275 Node *delay = NULL;
2276 for (uint j = 0; j < block->_nodes.size(); j++) { 2276 for (uint j = 0; j < block->number_of_nodes(); j++) {
2277 if (VMThread::should_terminate()) { 2277 if (VMThread::should_terminate()) {
2278 cut_short = true; 2278 cut_short = true;
2279 break; 2279 break;
2280 } 2280 }
2281 n = block->_nodes[j]; 2281 n = block->get_node(j);
2282 if (valid_bundle_info(n)) { 2282 if (valid_bundle_info(n)) {
2283 Bundle* bundle = node_bundling(n); 2283 Bundle* bundle = node_bundling(n);
2284 if (bundle->used_in_unconditional_delay()) { 2284 if (bundle->used_in_unconditional_delay()) {
2285 delay = n; 2285 delay = n;
2286 continue; 2286 continue;

mercurial