equal
deleted
inserted
replaced
411 print_prop("idx", node->_idx); |
411 print_prop("idx", node->_idx); |
412 #ifdef ASSERT |
412 #ifdef ASSERT |
413 print_prop("debug_idx", node->_debug_idx); |
413 print_prop("debug_idx", node->_debug_idx); |
414 #endif |
414 #endif |
415 |
415 |
416 if(C->cfg() != NULL) { |
416 if (C->cfg() != NULL) { |
417 Block *block = C->cfg()->_bbs[node->_idx]; |
417 Block* block = C->cfg()->get_block_for_node(node); |
418 if(block == NULL) { |
418 if (block == NULL) { |
419 print_prop("block", C->cfg()->_blocks[0]->_pre_order); |
419 print_prop("block", C->cfg()->_blocks[0]->_pre_order); |
420 } else { |
420 } else { |
421 print_prop("block", block->_pre_order); |
421 print_prop("block", block->_pre_order); |
422 } |
422 } |
423 } |
423 } |