hotspot/src/share/vm/opto/postaloc.cpp
changeset 26913 9ad70cd32368
parent 22234 da823d78ad65
child 28648 102bdbb42723
equal deleted inserted replaced
26912:19021f626ad2 26913:9ad70cd32368
   401 // Move.  We also look for reloads of identical constants.
   401 // Move.  We also look for reloads of identical constants.
   402 //
   402 //
   403 // When we see a use from a reg-reg Copy, we will attempt to use the copy's
   403 // When we see a use from a reg-reg Copy, we will attempt to use the copy's
   404 // source directly and make the copy go dead.
   404 // source directly and make the copy go dead.
   405 void PhaseChaitin::post_allocate_copy_removal() {
   405 void PhaseChaitin::post_allocate_copy_removal() {
   406   NOT_PRODUCT( Compile::TracePhase t3("postAllocCopyRemoval", &_t_postAllocCopyRemoval, TimeCompiler); )
   406   Compile::TracePhase tp("postAllocCopyRemoval", &timers[_t_postAllocCopyRemoval]);
   407   ResourceMark rm;
   407   ResourceMark rm;
   408 
   408 
   409   // Need a mapping from basic block Node_Lists.  We need a Node_List to
   409   // Need a mapping from basic block Node_Lists.  We need a Node_List to
   410   // map from register number to value-producing Node.
   410   // map from register number to value-producing Node.
   411   Node_List **blk2value = NEW_RESOURCE_ARRAY( Node_List *, _cfg.number_of_blocks() + 1);
   411   Node_List **blk2value = NEW_RESOURCE_ARRAY( Node_List *, _cfg.number_of_blocks() + 1);