mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
8023691: Create interface for nodes in class Block
Create public methods for accessing the nodes in a block Reviewed-by: kvn, roland
This commit is contained in:
parent
515a7df996
commit
be8c8aac48
17 changed files with 314 additions and 276 deletions
|
@ -2258,7 +2258,7 @@ void Compile::dump_asm(int *pcs, uint pc_limit) {
|
|||
if (block->is_connector() && !Verbose) {
|
||||
continue;
|
||||
}
|
||||
n = block->_nodes[0];
|
||||
n = block->head();
|
||||
if (pcs && n->_idx < pc_limit) {
|
||||
tty->print("%3.3x ", pcs[n->_idx]);
|
||||
} else {
|
||||
|
@ -2273,12 +2273,12 @@ void Compile::dump_asm(int *pcs, uint pc_limit) {
|
|||
|
||||
// For all instructions
|
||||
Node *delay = NULL;
|
||||
for (uint j = 0; j < block->_nodes.size(); j++) {
|
||||
for (uint j = 0; j < block->number_of_nodes(); j++) {
|
||||
if (VMThread::should_terminate()) {
|
||||
cut_short = true;
|
||||
break;
|
||||
}
|
||||
n = block->_nodes[j];
|
||||
n = block->get_node(j);
|
||||
if (valid_bundle_info(n)) {
|
||||
Bundle* bundle = node_bundling(n);
|
||||
if (bundle->used_in_unconditional_delay()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue