Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/phaseX.cpp @ 12071:adb9a7d94cb5
8023003: Cleanup the public interface to PhaseCFG
Summary: public methods that don't need to be public should be private.
Reviewed-by: kvn, twisti
author | adlertz |
---|---|
date | Fri, 16 Aug 2013 10:23:55 +0200 |
parents | 6f3fd5150b67 |
children | 650868c062a9 |
comparison
equal
deleted
inserted
replaced
12070:afbe18ae0905 | 12071:adb9a7d94cb5 |
---|---|
1641 //------------------------------do_transform----------------------------------- | 1641 //------------------------------do_transform----------------------------------- |
1642 void PhasePeephole::do_transform() { | 1642 void PhasePeephole::do_transform() { |
1643 bool method_name_not_printed = true; | 1643 bool method_name_not_printed = true; |
1644 | 1644 |
1645 // Examine each basic block | 1645 // Examine each basic block |
1646 for( uint block_number = 1; block_number < _cfg._num_blocks; ++block_number ) { | 1646 for (uint block_number = 1; block_number < _cfg.number_of_blocks(); ++block_number) { |
1647 Block *block = _cfg._blocks[block_number]; | 1647 Block* block = _cfg.get_block(block_number); |
1648 bool block_not_printed = true; | 1648 bool block_not_printed = true; |
1649 | 1649 |
1650 // and each instruction within a block | 1650 // and each instruction within a block |
1651 uint end_index = block->_nodes.size(); | 1651 uint end_index = block->_nodes.size(); |
1652 // block->end_idx() not valid after PhaseRegAlloc | 1652 // block->end_idx() not valid after PhaseRegAlloc |